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