Lines Matching refs:test
36 def __init__(self, test, msg):
38 self.test = test
40 return '\'%s\' - %s' % (self.test.path, self.msg)
43 def __init__(self, test, arch):
45 self.test = test
47 return '[%s] \'%s\'' % (self.arch, self.test.path)
50 def __init__(self, test):
51 self.test = test
53 return '\'%s\'' % self.test.path
140 # 'ret' - Skip test if Perf doesn't exit with this value (0 by default)
141 # 'test_ret'- If set to 'true', fail test instead of skipping for 'ret' argument
142 # 'arch' - architecture specific test (optional)
146 # the test is skipped. For example 'auxv["AT_HWCAP"] == 10'. (optional)
147 # 'kernel_since' - Inclusive kernel version from which the test will start running. Only the
149 # 'kernel_until' - Exclusive kernel version from which the test will stop running. (optional)
175 log.warning("test limitation '%s'" % self.arch)
225 # If architecture not set always run test
227 # log.warning("test for arch %s is ok" % myarch)
238 # log.warning("test for %s arch is %s" % (arch_item, myarch))
244 # log.warning("test for architecture '%s' current '%s'" % (arch_item, myarch))
366 # run the test script
369 # load events expectation for the test
388 for f in glob.glob(options.test_dir + '/' + options.test):
407 log = logging.getLogger('test')
418 -t test # single test
425 parser.add_option("-t", "--test",
426 action="store", type="string", dest="test")
427 parser.add_option("-d", "--test-dir",
445 if not options.test:
446 options.test = 'test*'