Lines Matching +full:- +full:- +full:print +full:- +full:architecture
1 # SPDX-License-Identifier: GPL-2.0
40 return '\'%s\' - %s' % (self.test.path, self.msg)
136 # - just single instance in file
137 # - needs to specify:
138 # 'command' - perf command name
139 # 'args' - special command arguments
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)
145 # 'auxv' - Truthy statement that is evaled in the scope of the auxv map. When false,
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)
151 # - one or multiple instances in file
152 # - expected values assignments
188 if name.find("event") == -1:
208 value = int(items[-1], 16)
211 value = int(items[-1], 0)
213 value = items[-1]
225 # If architecture not set always run test
236 log.warning("excluded architecture list %s" % arch_list)
244 # log.warning("test for architecture '%s' current '%s'" % (arch_item, myarch))
286 cmd = "PERF_TEST_ATTR=%s %s %s -o %s/perf.data %s" % (tempdir,
313 log.debug(" ->OK")
315 log.debug(" ->FAIL");
319 # we did not any matching event - fail
353 if group_fd == '-1':
378 # do the expectation - results matching - both ways
416 -d dir # tests dir
417 -p path # perf binary
418 -t test # single test
419 -v # verbose level
425 parser.add_option("-t", "--test",
427 parser.add_option("-d", "--test-dir",
429 parser.add_option("-p", "--perf",
431 parser.add_option("-v", "--verbose",
437 return -1
442 print('FAILED no -d option specified')
443 sys.exit(-1)
452 print("FAILED %s" % obj.getMsg())
453 sys.exit(-1)