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

Side by Side Diff: client/samples/control.patch_verify

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/samples/control.parallel ('k') | client/samples/control.profilers » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 AUTHOR = "Autotest Team <autotest@test.kernel.org>"
2 TIME = "SHORT"
3 NAME = "Sample - Parallel dd with kernel build - patch verification"
4 TEST_TYPE = "client"
5 TEST_CLASS = "Kernel"
6 TEST_CATEGORY = "Functional"
7
8 DOC = """
9 Parallel dd test with kernel build with the objective of seeing (or not)
10 differences after a patch is applied to the mainline kernel.
11 """
12
13 def tests(tag):
14 partition = job.partition('/tmp/looped', 1024, job.tmpdir)
15 # You can use also 'real' partitions, just comment the above and uncomment
16 # the below
17 #partition = job.partition('/dev/sdb1', job.tmpdir)
18
19 job.run_test('parallel_dd', fs=partition, fs_type='ext4', iterations=1,
20 megabytes=1000, streams=2, tag=tag)
21
22
23 def step_init():
24 testkernel = job.kernel('/usr/src/linux-2.6.36.tar.bz2')
25 testkernel.config('/usr/src/config')
26 testkernel.build()
27 job.next_step([step_one])
28 testkernel.boot()
29
30
31 def step_one():
32 tests('mainline')
33 testkernel = job.kernel('/usr/src/linux-2.6.36.tar.bz2')
34 testkernel.patch('/usr/src/ext4_patch')
35 testkernel.config('/usr/src/config')
36 testkernel.build()
37 job.next_step([step_two])
38 testkernel.boot()
39
40
41 def step_two():
42 tests('post_patch')
OLDNEW
« no previous file with comments | « client/samples/control.parallel ('k') | client/samples/control.profilers » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698