SConscript (3096:f621bee6e8df) SConscript (3691:cf8853913972)
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

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

200# Figure out applicable configs based on build type
201configs = []
202if env['FULL_SYSTEM']:
203 if env['TARGET_ISA'] == 'alpha':
204 if not env['ALPHA_TLASER']:
205 configs += ['tsunami-simple-atomic',
206 'tsunami-simple-timing',
207 'tsunami-simple-atomic-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

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

200# Figure out applicable configs based on build type
201configs = []
202if env['FULL_SYSTEM']:
203 if env['TARGET_ISA'] == 'alpha':
204 if not env['ALPHA_TLASER']:
205 configs += ['tsunami-simple-atomic',
206 'tsunami-simple-timing',
207 'tsunami-simple-atomic-dual',
208 'tsunami-simple-timing-dual']
208 'tsunami-simple-timing-dual',
209 'twosys-tsunami-simple-atomic']
210
209else:
210 configs += ['simple-atomic', 'simple-timing', 'o3-timing']
211
212cwd = os.getcwd()
213os.chdir(str(Dir('.').srcdir))
214for config in configs:
215 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
216 for d in dirs:
217 test_builder(env, d)
218os.chdir(cwd)
211else:
212 configs += ['simple-atomic', 'simple-timing', 'o3-timing']
213
214cwd = os.getcwd()
215os.chdir(str(Dir('.').srcdir))
216for config in configs:
217 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config))
218 for d in dirs:
219 test_builder(env, d)
220os.chdir(cwd)