SConscript (8482:353abb676fa2) | SConscript (8492:1ad244a20877) |
---|---|
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 --- 274 unchanged lines hidden (view full) --- 283 configs += ['pc-simple-atomic', 284 'pc-simple-timing'] 285 286else: 287 configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest', 288 'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp', 289 'inorder-timing', 'rubytest'] 290 | 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 --- 274 unchanged lines hidden (view full) --- 283 configs += ['pc-simple-atomic', 284 'pc-simple-timing'] 285 286else: 287 configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest', 288 'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp', 289 'inorder-timing', 'rubytest'] 290 |
291if env['RUBY']: | 291if env['PROTOCOL'] != 'None': |
292 if env['PROTOCOL'] == 'MI_example': 293 configs += [c + "-ruby" for c in configs] 294 else: 295 configs = [c + "-ruby-" + env['PROTOCOL'] for c in configs] 296 297cwd = os.getcwd() 298os.chdir(str(Dir('.').srcdir)) 299for config in configs: 300 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config)) 301 for d in dirs: 302 if not os.path.exists(os.path.join(d, 'skip')): 303 test_builder(env, d) 304os.chdir(cwd) | 292 if env['PROTOCOL'] == 'MI_example': 293 configs += [c + "-ruby" for c in configs] 294 else: 295 configs = [c + "-ruby-" + env['PROTOCOL'] for c in configs] 296 297cwd = os.getcwd() 298os.chdir(str(Dir('.').srcdir)) 299for config in configs: 300 dirs = glob.glob('*/*/ref/%s/*/%s' % (env['TARGET_ISA'], config)) 301 for d in dirs: 302 if not os.path.exists(os.path.join(d, 'skip')): 303 test_builder(env, d) 304os.chdir(cwd) |