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

Unified Diff: client/samples/control.rpm_kernel

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.profilers ('k') | client/samples/control.soft_reboot » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/samples/control.rpm_kernel
diff --git a/client/samples/control.rpm_kernel b/client/samples/control.rpm_kernel
new file mode 100644
index 0000000000000000000000000000000000000000..d3dc8b35db7023e8b2c64b7935e1ff2b940412d0
--- /dev/null
+++ b/client/samples/control.rpm_kernel
@@ -0,0 +1,22 @@
+AUTHOR = "Autotest Team <autotest@test.kernel.org>"
+TIME = "SHORT"
+NAME = "Sample - More profilers"
+TEST_TYPE = "client"
+TEST_CLASS = "Kernel"
+TEST_CATEGORY = "Functional"
+
+DOC = """
+Runs sleeptest after installing a kernel rpm. Please note that syntax works
+only if you have an autotest package repository properly setup.
+"""
+
+def step_init():
+ job.next_step([step_test])
+ # The below won't work unless you have configured an autotest package
+ # repository.
+ testkernel = job.kernel('kernel-smp-2.6.18-210.4.x86_64.rpm')
+ testkernel.install()
+ testkernel.boot() # does autotest by default
+
+def step_test():
+ job.run_test('sleeptest')
« no previous file with comments | « client/samples/control.profilers ('k') | client/samples/control.soft_reboot » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698