Lines Matching refs:test_name
375 test_name = 'test-art-'
376 test_name += target + '-run-test-'
377 test_name += run + '-'
378 test_name += prebuild + '-'
379 test_name += compiler + '-'
380 test_name += relocate + '-'
381 test_name += trace + '-'
382 test_name += gc + '-'
383 test_name += jni + '-'
384 test_name += image + '-'
385 test_name += debuggable + '-'
386 test_name += jvmti + '-'
387 test_name += cdex_level + '-'
388 test_name += test
389 test_name += address_size
500 return executor.submit(run_test, command, test, variant_set, test_name)
544 def run_test(command, test, test_variant, test_name): argument
570 print_text("Starting %s at %s\n" % (test_name, test_start_time))
584 return (test_name, 'PASS', None, test_time)
586 failed_tests.append((test_name, str(command) + "\n" + script_output))
587 return (test_name, 'FAIL', ('%s\n%s') % (command, script_output), test_time)
589 skipped_tests.append(test_name)
590 return (test_name, 'SKIP', None, test_time)
592 return (test_name, 'PASS', None, test_time)
595 print_text("Timeout of %s at %s\n" % (test_name, time.monotonic()))
598 failed_tests.append((test_name, 'Timed out in %d seconds' % timeout))
601 if "-target-" in test_name:
603 proc_name = "dalvikvm" + test_name[-2:]
623 return (test_name, 'TIMEOUT', 'Timed out in %d seconds\n%s' % (timeout, command), test_time)
625 failed_tests.append((test_name, str(e)))
626 return (test_name, 'FAIL', ('%s\n%s\n\n') % (command, str(e)), datetime.timedelta())
628 def print_test_info(test_count, test_name, result, failed_test_info="", argument
665 test_name,
670 test_name,
683 test_name,
690 test_name_len = len(test_name)
692 test_name = ('...%s') % (
693 test_name[-(allowed_test_length - 3):])
696 test_name,
700 print_text(('%s\n%s\n') % (test_name, str(e)))
701 failed_tests.append(test_name)
898 def parse_test_name(test_name): argument
911 if test.startswith(test_name):
932 match = re.match(regex, test_name)
948 raise ValueError(test_name + " is not a valid test")
1072 for test_name in options['tests']:
1073 tests |= parse_test_name(test_name)