SConscript (9242:256143419b40) SConscript (9244:4672c12307a7)
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

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

310 'realview-o3-dual']
311if env['TARGET_ISA'] == 'x86':
312 configs += ['pc-simple-atomic',
313 'pc-simple-timing',
314 'pc-o3-timing']
315
316configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest',
317 'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp',
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

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

310 'realview-o3-dual']
311if env['TARGET_ISA'] == 'x86':
312 configs += ['pc-simple-atomic',
313 'pc-simple-timing',
314 'pc-o3-timing']
315
316configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest',
317 'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp',
318 'inorder-timing', 'rubytest', 'tgen-simple-mem']
318 'inorder-timing', 'rubytest', 'tgen-simple-mem',
319 'tgen-simple-dram']
319
320if env['PROTOCOL'] != 'None':
321 if env['PROTOCOL'] == 'MI_example':
322 configs += [c + "-ruby" for c in configs]
323 else:
324 configs = [c + "-ruby-" + env['PROTOCOL'] for c in configs]
325
326cwd = os.getcwd()
327os.chdir(str(Dir('.').srcdir))
328for config in configs:
329 dirs = glob.glob('*/*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
330 for d in dirs:
331 if not os.path.exists(os.path.join(d, 'skip')):
332 test_builder(env, d)
333os.chdir(cwd)
320
321if env['PROTOCOL'] != 'None':
322 if env['PROTOCOL'] == 'MI_example':
323 configs += [c + "-ruby" for c in configs]
324 else:
325 configs = [c + "-ruby-" + env['PROTOCOL'] for c in configs]
326
327cwd = os.getcwd()
328os.chdir(str(Dir('.').srcdir))
329for config in configs:
330 dirs = glob.glob('*/*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
331 for d in dirs:
332 if not os.path.exists(os.path.join(d, 'skip')):
333 test_builder(env, d)
334os.chdir(cwd)