Lines Matching refs:compiler
74 def check_supported(compiler, mode, std): argument
75 if compiler not in SUPPORTED_COMPILERS:
88 for compiler in SUPPORTED_COMPILERS:
89 if util.has_compiler(compiler) and (len(compiler_list) == 0 or not args.fast):
90 compiler_list.append(compiler)
93 print 'WARNING: Skipping ' + compiler + ' tests.'
99 def CleanBuildSystem(compiler): argument
100 def clean(compiler, mode, std): argument
101 check_supported(compiler, mode, std)
102 os.environ['CXX'] = compiler
104 print 'Cleaning ' + compiler + ' ' + std + ' ' \
113 clean(compiler, 'debug', 'c++98')
114 clean(compiler, 'debug', 'c++11')
115 clean(compiler, 'release', 'c++98')
116 clean(compiler, 'release', 'c++11')
119 def BuildEverything(compiler): argument
120 def build(compiler, mode, std): argument
121 check_supported(compiler, mode, std)
122 os.environ['CXX'] = compiler
124 print 'Building ' + compiler + ' ' + std + ' ' \
135 print 'Building ' + compiler + ' tests...'
136 build(compiler, 'debug', 'c++98')
137 build(compiler, 'debug', 'c++11')
138 build(compiler, 'release', 'c++98')
139 build(compiler, 'release', 'c++11')
172 def __init__(self, compiler, mode, std, simulator, debugger = False, verbose = False): argument
173 check_supported(compiler, mode, std)
176 self.compiler = compiler
180 name = 'test ' + compiler + ' ' + std + ' ' + mode
193 command = os.path.join(OBJ_DIR, self.mode, self.compiler,
225 def __init__(self, compiler, mode, std, simulator): argument
226 check_supported(compiler, mode, std)
227 self.compiler = compiler
231 name = 'benchmarks ' + compiler + ' ' + std + ' ' + mode
244 command = os.path.join(OBJ_DIR, self.mode, self.compiler, self.std,
273 for compiler in compiler_list:
275 CleanBuildSystem(compiler)
276 BuildEverything(compiler)
280 tester.AddTest(VIXLTest(compiler, 'release', 'c++98', True, True, args.verbose))
281 tester.AddTest(VIXLTest(compiler, 'debug', 'c++98', True, True, args.verbose))
282 tester.AddTest(VIXLTest(compiler, 'release', 'c++98', True, False, args.verbose))
283 tester.AddTest(VIXLTest(compiler, 'debug', 'c++98', True, False, args.verbose))
284 tester.AddTest(VIXLTest(compiler, 'release', 'c++11', True, True, args.verbose))
285 tester.AddTest(VIXLTest(compiler, 'debug', 'c++11', True, True, args.verbose))
286 tester.AddTest(VIXLTest(compiler, 'release', 'c++11', True, False, args.verbose))
287 tester.AddTest(VIXLTest(compiler, 'debug', 'c++11', True, False, args.verbose))
288 tester.AddTest(BenchTest(compiler,'release', 'c++98', True))
289 tester.AddTest(BenchTest(compiler,'debug', 'c++98', True))
290 tester.AddTest(BenchTest(compiler,'release', 'c++11', True))
291 tester.AddTest(BenchTest(compiler,'debug', 'c++11', True))
293 tester.AddTest(VIXLTest(compiler, 'release', 'c++98', False, False, args.verbose))
294 tester.AddTest(VIXLTest(compiler, 'debug', 'c++98', False, False, args.verbose))
295 tester.AddTest(VIXLTest(compiler, 'release', 'c++11', False, False, args.verbose))
296 tester.AddTest(VIXLTest(compiler, 'debug', 'c++11', False, False, args.verbose))
297 tester.AddTest(BenchTest(compiler,'release', 'c++98', False))
298 tester.AddTest(BenchTest(compiler,'debug', 'c++98', False))
299 tester.AddTest(BenchTest(compiler,'release', 'c++11', False))
300 tester.AddTest(BenchTest(compiler,'debug', 'c++11', False))