projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ccd99e
)
Also include a function to form the input path.
author
Kevin Lim
<ktlim@umich.edu>
Fri, 10 Nov 2006 17:39:43 +0000
(12:39 -0500)
committer
Kevin Lim
<ktlim@umich.edu>
Fri, 10 Nov 2006 17:39:43 +0000
(12:39 -0500)
--HG--
extra : convert_revision :
d2141e3b8c56296fbbe2c4c1ceb80616f269884a
tests/run.py
patch
|
blob
|
history
diff --git
a/tests/run.py
b/tests/run.py
index aa13ac437ecffc6f82149763570f1b5d14ed07de..3002bf441e0bb74d86d8c6192fbc9994d7c366cd 100644
(file)
--- a/
tests/run.py
+++ b/
tests/run.py
@@
-42,6
+42,13
@@
def binpath(app, file=None):
file = app
return os.path.join(test_progs, app, 'bin', isa, opsys, file)
+# generate path to input file
+def inputpath(app, file=None):
+ # input file has same name as app unless specified otherwise
+ if not file:
+ file = app
+ return os.path.join(test_progs, app, 'input', file)
+
# build configuration
execfile(os.path.join(tests_root, 'configs', config + '.py'))