1import os 2from autotest_lib.client.bin import test 3from autotest_lib.client.common_lib import utils 4 5 6class signaltest(test.test): 7 version = 1 8 preserve_srcdir = True 9 10 def initialize(self): 11 self.job.require_gcc() 12 13 14 # git://git.kernel.org/pub/scm/linux/kernel/git/tglx/rt-tests.git 15 def setup(self): 16 os.chdir(self.srcdir) 17 utils.make() 18 19 20 def execute(self, args = '-t 10 -l 100000'): 21 utils.system(self.srcdir + '/signaltest ' + args) 22