| from autotest_utils import * |
| # Create the directory structure |
| # Redirect stdout, stderr |
| # useprofiler / disuseprofiler |
| # For each test ... create test dir, subdirs, run the test, log result |
| # some way to invoke profilers |
| print "TEST: initing kernel" |
| testkernel = job.kernel(job.tmpdir+'/build', '/usr/local/src/linux-2.6.14.tar.bz2') # '2.4.16' |
| testkernel.patch(['/usr/local/src/patch-2.6.14-git6.bz2']) |
| testkernel.config(['http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/config.up']) |
| print "TEST: building kernel" |
| print "TEST: installing kernel" |
| # testkernel.install('autotest') |
| # print "TEST: booting system" |
| # system.boot() # does autotest by default |
| print "TEST: initing kernbench" |
| job.runtest('kernbench', 'kernbench', (2, 5)) |