Deleted Added
sdiff udiff text old ( 12575:16ada03839d9 ) new ( 13619:44b5224b2ff4 )
full compact
1# Copyright (c) 2012 ARM Limited
2# All rights reserved
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

172 if not file:
173 file = app
174 return joinpath(test_progs, app, 'input', file)
175
176def srcpath(path):
177 """Path to file in gem5's source tree"""
178 return joinpath(os.path.dirname(__file__), "..", path)
179
180# build configuration
181sys.path.append(joinpath(tests_root, 'configs'))
182test_filename = config
183# for ruby configurations, remove the protocol name from the test filename
184if re.search('-ruby', test_filename):
185 test_filename = test_filename.split('-ruby')[0]+'-ruby'
186execfile(joinpath(tests_root, 'configs', test_filename + '.py'))
187

--- 36 unchanged lines hidden ---