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

Unified Diff: client/samples/control.parallel

Issue 4823005: Merge remote branch 'cros/upstream' into tempbranch (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: patch Created 10 years, 1 month 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 | « client/samples/control.oprofile_power5 ('k') | client/samples/control.patch_verify » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/samples/control.parallel
diff --git a/client/samples/control.parallel b/client/samples/control.parallel
new file mode 100644
index 0000000000000000000000000000000000000000..47a5ac9ca0fc4d4a3b8a7e4590e1f7e78bcdb8e1
--- /dev/null
+++ b/client/samples/control.parallel
@@ -0,0 +1,20 @@
+AUTHOR = "Autotest Team <autotest@test.kernel.org>"
+TIME = "SHORT"
+NAME = "Sample - Parallel test execution"
+TEST_TYPE = "client"
+TEST_CLASS = "Kernel"
+TEST_CATEGORY = "Functional"
+
+DOC = """
+Runs 2 client tests in parallel, with different options.
+"""
+
+def kernbench():
+ job.run_test('kernbench', iterations=2, threads=5)
+
+
+def dbench():
+ job.run_test('dbench')
+
+
+job.parallel([kernbench], [dbench])
« no previous file with comments | « client/samples/control.oprofile_power5 ('k') | client/samples/control.patch_verify » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698