SConscript (6011:27836c06d13d) SConscript (6025:044903442dcb)
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

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

246
247 env.AlwaysBuild(p)
248
249
250# Figure out applicable configs based on build type
251configs = []
252if env['FULL_SYSTEM']:
253 if env['TARGET_ISA'] == 'alpha':
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

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

246
247 env.AlwaysBuild(p)
248
249
250# Figure out applicable configs based on build type
251configs = []
252if env['FULL_SYSTEM']:
253 if env['TARGET_ISA'] == 'alpha':
254 if not env['ALPHA_TLASER']:
255 configs += ['tsunami-simple-atomic',
256 'tsunami-simple-timing',
257 'tsunami-simple-atomic-dual',
258 'tsunami-simple-timing-dual',
259 'twosys-tsunami-simple-atomic',
260 'tsunami-o3', 'tsunami-o3-dual']
254 configs += ['tsunami-simple-atomic',
255 'tsunami-simple-timing',
256 'tsunami-simple-atomic-dual',
257 'tsunami-simple-timing-dual',
258 'twosys-tsunami-simple-atomic',
259 'tsunami-o3', 'tsunami-o3-dual']
261 if env['TARGET_ISA'] == 'sparc':
262 configs += ['t1000-simple-atomic',
263 't1000-simple-timing']
264
265else:
266 configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest',
267 'simple-atomic-mp', 'simple-timing-mp']
268
269cwd = os.getcwd()
270os.chdir(str(Dir('.').srcdir))
271for config in configs:
272 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
273 for d in dirs:
274 test_builder(env, d)
275os.chdir(cwd)
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']
267
268cwd = os.getcwd()
269os.chdir(str(Dir('.').srcdir))
270for config in configs:
271 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
272 for d in dirs:
273 test_builder(env, d)
274os.chdir(cwd)