summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/valgrind/chrome_tests.py27
-rw-r--r--tools/valgrind/reliability/url_list.txt3
2 files changed, 20 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,
diff --git a/tools/valgrind/reliability/url_list.txt b/tools/valgrind/reliability/url_list.txt
new file mode 100644
index 0000000..c70dd85
--- /dev/null
+++ b/tools/valgrind/reliability/url_list.txt
@@ -0,0 +1,3 @@
+www.google.com
+www.youtube.com
+www.slashdot.org