SConscript (6168:ba6fe02228db) SConscript (6194:2078ba7cefe4)
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

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

258 'twosys-tsunami-simple-atomic',
259 'tsunami-o3', 'tsunami-o3-dual']
260 if env['TARGET_ISA'] == 'sparc':
261 configs += ['t1000-simple-atomic',
262 't1000-simple-timing']
263
264else:
265 configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest',
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

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

258 'twosys-tsunami-simple-atomic',
259 'tsunami-o3', 'tsunami-o3-dual']
260 if env['TARGET_ISA'] == 'sparc':
261 configs += ['t1000-simple-atomic',
262 't1000-simple-timing']
263
264else:
265 configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest',
266 'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp']
266 'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp',
267 'inorder-timing']
267
268if env['RUBY']:
269 # Hack for Ruby
270 configs += [c + '-ruby' for c in configs]
271
272cwd = os.getcwd()
273os.chdir(str(Dir('.').srcdir))
274for config in configs:
275 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
276 for d in dirs:
277 test_builder(env, d)
278os.chdir(cwd)
268
269if env['RUBY']:
270 # Hack for Ruby
271 configs += [c + '-ruby' for c in configs]
272
273cwd = os.getcwd()
274os.chdir(str(Dir('.').srcdir))
275for config in configs:
276 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
277 for d in dirs:
278 test_builder(env, d)
279os.chdir(cwd)