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