SConscript (10218:5a45f124a2f7) SConscript (10260:384d554cea8c)
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 292 unchanged lines hidden (view full) ---

301configs = []
302if env['TARGET_ISA'] == 'alpha':
303 configs += ['tsunami-simple-atomic',
304 'tsunami-simple-timing',
305 'tsunami-simple-atomic-dual',
306 'tsunami-simple-timing-dual',
307 'twosys-tsunami-simple-atomic',
308 'tsunami-o3', 'tsunami-o3-dual',
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 292 unchanged lines hidden (view full) ---

301configs = []
302if env['TARGET_ISA'] == 'alpha':
303 configs += ['tsunami-simple-atomic',
304 'tsunami-simple-timing',
305 'tsunami-simple-atomic-dual',
306 'tsunami-simple-timing-dual',
307 'twosys-tsunami-simple-atomic',
308 'tsunami-o3', 'tsunami-o3-dual',
309 'tsunami-minor', 'tsunami-minor-dual',
309 'tsunami-inorder',
310 'tsunami-switcheroo-full']
311if env['TARGET_ISA'] == 'sparc':
312 configs += ['t1000-simple-atomic',
313 't1000-simple-timing']
314if env['TARGET_ISA'] == 'arm':
315 configs += ['simple-atomic-dummychecker',
316 'o3-timing-checker',
317 'realview-simple-atomic',
318 'realview-simple-atomic-dual',
319 'realview-simple-timing',
320 'realview-simple-timing-dual',
321 'realview-o3',
322 'realview-o3-checker',
323 'realview-o3-dual',
310 'tsunami-inorder',
311 'tsunami-switcheroo-full']
312if env['TARGET_ISA'] == 'sparc':
313 configs += ['t1000-simple-atomic',
314 't1000-simple-timing']
315if env['TARGET_ISA'] == 'arm':
316 configs += ['simple-atomic-dummychecker',
317 'o3-timing-checker',
318 'realview-simple-atomic',
319 'realview-simple-atomic-dual',
320 'realview-simple-timing',
321 'realview-simple-timing-dual',
322 'realview-o3',
323 'realview-o3-checker',
324 'realview-o3-dual',
325 'realview-minor',
326 'realview-minor-dual',
324 'realview-switcheroo-atomic',
325 'realview-switcheroo-timing',
326 'realview-switcheroo-o3',
327 'realview-switcheroo-full']
328if env['TARGET_ISA'] == 'x86':
329 configs += ['pc-simple-atomic',
330 'pc-simple-timing',
331 'pc-o3-timing',
332 'pc-switcheroo-full']
333
327 'realview-switcheroo-atomic',
328 'realview-switcheroo-timing',
329 'realview-switcheroo-o3',
330 'realview-switcheroo-full']
331if env['TARGET_ISA'] == 'x86':
332 configs += ['pc-simple-atomic',
333 'pc-simple-timing',
334 'pc-o3-timing',
335 'pc-switcheroo-full']
336
334configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest',
335 'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp',
336 'inorder-timing', 'rubytest', 'tgen-simple-mem',
337 'tgen-dram-ctrl']
337configs += ['simple-atomic', 'simple-atomic-mp',
338 'simple-timing', 'simple-timing-mp',
339 'inorder-timing',
340 'minor-timing', 'minor-timing-mp',
341 'o3-timing', 'o3-timing-mp',
342 'rubytest', 'memtest',
343 'tgen-simple-mem', 'tgen-dram-ctrl']
338
339if env['PROTOCOL'] != 'None':
340 if env['PROTOCOL'] == 'MI_example':
341 configs += [c + "-ruby" for c in configs]
342 else:
343 configs = [c + "-ruby-" + env['PROTOCOL'] for c in configs]
344
345src = Dir('.').srcdir
346for config in configs:
347 dirs = src.glob('*/*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
348 for d in dirs:
349 d = str(d)
350 if not os.path.exists(os.path.join(d, 'skip')):
351 test_builder(env, d)
344
345if env['PROTOCOL'] != 'None':
346 if env['PROTOCOL'] == 'MI_example':
347 configs += [c + "-ruby" for c in configs]
348 else:
349 configs = [c + "-ruby-" + env['PROTOCOL'] for c in configs]
350
351src = Dir('.').srcdir
352for config in configs:
353 dirs = src.glob('*/*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
354 for d in dirs:
355 d = str(d)
356 if not os.path.exists(os.path.join(d, 'skip')):
357 test_builder(env, d)