Lines Matching +full:regression +full:- +full:test
7 testDirName = 'llvm-test'
8 test = ['compile', 'llc', 'jit', 'cbe'] variable
9 exectime = ['llc-time', 'jit-time', 'cbe-time',]
10 comptime = ['llc', 'jit-comptime', 'compile']
21 r = re.findall(r'TEST-(PASS|FAIL|RESULT.*?):\s+(.*?)\s+(.*?)\r*\n', d)
23 test = {}
39 if fname not in test :
40 test[fname] = {}
42 for k in test:
43 test[fname][k] = 'NA'
44 test[fname][t[1]] = t[0]
46 print(test[fname][t[1]])
49 n = t[0].split('RESULT-')[1]
54 if n == 'llc' or n == 'jit-comptime' or n == 'compile':
55 test[fname][tp + n] = float(t[2].split(' ')[2])
57 print(test[fname][tp + n])
59 elif n.endswith('-time') :
60 test[fname][exp + n] = float(t[2].strip('\r\n'))
62 print(test[fname][exp + n])
71 return test
82 # Check if the test passed or failed.
83 for x in test:
88 print(t + " *** REGRESSION (" + x + ")\n")
94 print(t + "*** REGRESSION (" + x + ")\n")
100 print(t + " *** REGRESSION (" + tp + x + ")\n")
110 print(t + " *** REGRESSION (" + exp + x + ")\n")
117 print(t + ": Removed from test-suite.\n")
124 sys.exit(-1)