Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: server/site_tests/suite_Nightly/control

Issue 2830016: Add boot time tests to nightly suite, and run multiple iterations (Closed) Base URL: ssh://gitrw.chromium.org/autotest.git
Patch Set: rename run_client_tests to something hopefully more appropriate Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « server/site_tests/platform_BootPerfServer/platform_BootPerfServer.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/site_tests/suite_Nightly/control
diff --git a/server/site_tests/suite_Nightly/control b/server/site_tests/suite_Nightly/control
index 1287c3bb7c6551c56b539cd6949aad2fc58b780c..e5f1a9a7b281fd224a13cf54c1f5edf75bfdacce 100644
--- a/server/site_tests/suite_Nightly/control
+++ b/server/site_tests/suite_Nightly/control
@@ -16,9 +16,7 @@ fully functional. These are meant to run nightly in less than 8 hours.
"""
-# Run server tests
-
-# All client tests whose parameters
+# List of client tests with parameters
TESTS = [
('compilebench', {}),
('dbench', {}),
@@ -62,13 +60,12 @@ for test_with_argv in TESTS:
index += 1
-def run_client_test(machine):
+def run_assigned_tests(machine):
client = hosts.create_host(machine)
client_at = autotest.Autotest(client)
test_list = test_dict[machine]
for test, argv in test_list:
client_at.run_test(test, **argv)
+ job.run_test("platform_BootPerfServer", host=client, iterations=4)
-
-job.parallel_on_machines(run_client_test, machines)
-
+job.parallel_on_machines(run_assigned_tests, machines)
« no previous file with comments | « server/site_tests/platform_BootPerfServer/platform_BootPerfServer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698