diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-07 19:25:54 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-07 19:25:54 +0000 |
commit | 51d866ec9238207fb1477c69162464503824991f (patch) | |
tree | 34e6d315e540048f9bc37ecc57aa12dc12fe2974 /tools/valgrind/chrome_tests.py | |
parent | eea2deb6352963f0b176756981f242058646dbed (diff) | |
download | chromium_src-51d866ec9238207fb1477c69162464503824991f.zip chromium_src-51d866ec9238207fb1477c69162464503824991f.tar.gz chromium_src-51d866ec9238207fb1477c69162464503824991f.tar.bz2 |
Add reliability runner to chrome_tests.py
TEST=Works locally
Review URL: http://codereview.chromium.org/5593003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/chrome_tests.py')
-rwxr-xr-x | tools/valgrind/chrome_tests.py | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py index ab3b4e2..d43ec8b 100755 --- a/tools/valgrind/chrome_tests.py +++ b/tools/valgrind/chrome_tests.py @@ -269,18 +269,24 @@ class ChromeTests: def TestGfx(self): return self.SimpleTest("chrome", "gfx_unittests") + UI_VALGRIND_ARGS = ["--timeout=180000", "--trace_children", "--indirect"] + UI_TEST_ARGS = ["--ui-test-timeout=240000", + "--ui-test-action-timeout=120000", + "--ui-test-action-max-timeout=280000", + "--ui-test-sleep-timeout=120000", + "--ui-test-terminate-timeout=120000"] def TestUI(self): return self.SimpleTest("chrome", "ui_tests", - valgrind_test_args=[ - "--timeout=180000", - "--trace_children", - "--indirect"], - cmd_args=[ - "--ui-test-timeout=240000", - "--ui-test-action-timeout=120000", - "--ui-test-action-max-timeout=280000", - "--ui-test-sleep-timeout=120000", - "--ui-test-terminate-timeout=120000"]) + valgrind_test_args=self.UI_VALGRIND_ARGS, + cmd_args=self.UI_TEST_ARGS) + + def TestReliability(self): + script_dir = path_utils.ScriptDir() + url_list_file = os.path.join(script_dir, "reliability", "url_list.txt") + return self.SimpleTest("chrome", "reliability_tests", + valgrind_test_args=self.UI_VALGRIND_ARGS, + cmd_args=(self.UI_TEST_ARGS + + ["--list=%s" % url_list_file])) def TestSync(self): return self.SimpleTest("chrome", "sync_unit_tests") @@ -399,6 +405,7 @@ class ChromeTests: "net": TestNet, "net_unittests": TestNet, "notifier": TestNotifier, "notifier_unittests": TestNotifier, "printing": TestPrinting, "printing_unittests": TestPrinting, + "reliability": TestReliability, "reliability_tests": TestReliability, "remoting": TestRemoting, "remoting_unittests": TestRemoting, "startup": TestStartup, "startup_tests": TestStartup, "sync": TestSync, "sync_unit_tests": TestSync, |