SConscript (10751:11d4a587d43a) SConscript (11105:9a1c2b16a2f9)
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

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

356
357configs += ['simple-atomic', 'simple-atomic-mp',
358 'simple-timing', 'simple-timing-mp',
359 'minor-timing', 'minor-timing-mp',
360 'o3-timing', 'o3-timing-mp',
361 'rubytest', 'memtest', 'memtest-filter',
362 'tgen-simple-mem', 'tgen-dram-ctrl']
363
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

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

356
357configs += ['simple-atomic', 'simple-atomic-mp',
358 'simple-timing', 'simple-timing-mp',
359 'minor-timing', 'minor-timing-mp',
360 'o3-timing', 'o3-timing-mp',
361 'rubytest', 'memtest', 'memtest-filter',
362 'tgen-simple-mem', 'tgen-dram-ctrl']
363
364configs += ['learning-gem5-p1-simple', 'learning-gem5-p1-two-level']
365
364if env['PROTOCOL'] != 'None':
365 if env['PROTOCOL'] == 'MI_example':
366 configs += [c + "-ruby" for c in configs]
367 else:
368 configs = [c + "-ruby-" + env['PROTOCOL'] for c in configs]
369
370src = Dir('.').srcdir
371for config in configs:
372 dirs = src.glob('*/*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
373 for d in dirs:
374 d = str(d)
375 if not os.path.exists(os.path.join(d, 'skip')):
376 test_builder(env, d)
366if env['PROTOCOL'] != 'None':
367 if env['PROTOCOL'] == 'MI_example':
368 configs += [c + "-ruby" for c in configs]
369 else:
370 configs = [c + "-ruby-" + env['PROTOCOL'] for c in configs]
371
372src = Dir('.').srcdir
373for config in configs:
374 dirs = src.glob('*/*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
375 for d in dirs:
376 d = str(d)
377 if not os.path.exists(os.path.join(d, 'skip')):
378 test_builder(env, d)