blob: 108e62fafdde7eb614cad8bb8a72db60b0fea182 [file] [log] [blame]
#!/usr/bin/python2.3
import os,sys
import job, kernel, test
from autotest_utils import *
# Create the directory structure
# Redirect stdout, stderr
# build
# boot
# useprofiler / disuseprofiler
# For each test ... create test dir, subdirs, run the test, log result
# some way to invoke profilers
job = job.job('myjob')
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"
testkernel.build()
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))