SConscript (2997:d4f750d960e5) | SConscript (3005:ceb86e85d62d) |
---|---|
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 --- 180 unchanged lines hidden (view full) --- 189 [ref_stats, new_stats, status_file], 190 updateAction) 191 else: 192 p = env.Command(tgt('_print'), [status_file], printAction) 193 194 env.AlwaysBuild(p) 195 196 | 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 --- 180 unchanged lines hidden (view full) --- 189 [ref_stats, new_stats, status_file], 190 updateAction) 191 else: 192 p = env.Command(tgt('_print'), [status_file], printAction) 193 194 env.AlwaysBuild(p) 195 196 |
197# Figure out applicable configs based on build type 198configs = [] 199if env['FULL_SYSTEM']: 200 if env['TARGET_ISA'] == 'alpha': 201 if not env['ALPHA_TLASER']: 202 configs += ['tsunami-simple-atomic', 203 'tsunami-simple-timing', 204 'tsunami-simple-atomic-dual', 205 'tsunami-simple-timing-dual'] 206else: 207 configs += ['simple-atomic', 'simple-timing'] 208 |
|
197cwd = os.getcwd() 198os.chdir(str(Dir('.').srcdir)) | 209cwd = os.getcwd() 210os.chdir(str(Dir('.').srcdir)) |
199for config in ['simple-atomic']: | 211for config in configs: |
200 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config)) 201 for d in dirs: 202 test_builder(env, d) 203os.chdir(cwd) | 212 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config)) 213 for d in dirs: 214 test_builder(env, d) 215os.chdir(cwd) |