projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f069f59
)
Minor fix for test/genini.py.
author
Steve Reinhardt
<stever@eecs.umich.edu>
Tue, 1 Nov 2005 03:41:14 +0000
(22:41 -0500)
committer
Steve Reinhardt
<stever@eecs.umich.edu>
Tue, 1 Nov 2005 03:41:14 +0000
(22:41 -0500)
test/genini.py:
Use m5execfile to execute .py files so that sys.path gets handled correctly.
--HG--
extra : convert_revision :
8d8c90a7f40d51c95ba0f43bb9f6d7b2ee49f16e
test/genini.py
patch
|
blob
|
history
diff --git
a/test/genini.py
b/test/genini.py
index ac789e5d6c4dc7923314af389fc4a4206c40b118..2af81fe2b1e54bfd0803edd7c88664349e510ad8 100755
(executable)
--- a/
test/genini.py
+++ b/
test/genini.py
@@
-64,8
+64,7
@@
for path in pathlist:
AddToPath(path)
for arg in args:
- AddToPath(os.path.dirname(arg))
- execfile(arg)
+ m5execfile(arg, globals())
if globals().has_key('root') and isinstance(root, Root):
instantiate(root)