summaryrefslogtreecommitdiff
path: root/test/genini.py
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2005-02-24 12:08:57 -0500
committerRon Dreslinski <rdreslin@umich.edu>2005-02-24 12:08:57 -0500
commite11e26872eb5a00acf9e23e82a0d6dcbc3b6c644 (patch)
treeec540ade3805a4d41ebfe16d8d1a8166336ef705 /test/genini.py
parent3e18c75f00ca188c76342affa21f7c8e4d4df191 (diff)
parentd5d41d696c0b47d7f2290f054b638495b88af98a (diff)
downloadgem5-e11e26872eb5a00acf9e23e82a0d6dcbc3b6c644.tar.xz
Merge out, the L2 is now part of the system, not connected to the processor
--HG-- extra : convert_revision : 996d3085b632e93a88ef111dfe853745d6836147
Diffstat (limited to 'test/genini.py')
-rwxr-xr-x[-rw-r--r--]test/genini.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/genini.py b/test/genini.py
index 73e7012f6..9c28ef361 100644..100755
--- a/test/genini.py
+++ b/test/genini.py
@@ -30,13 +30,14 @@ from os.path import join as joinpath, realpath
mypath = sys.path[0]
sys.path.append(joinpath(mypath, '..'))
-sys.path.append(joinpath(mypath, '../configs/kernel'))
sys.path.append(joinpath(mypath, '../util/pbs'))
sys.path.append(joinpath(mypath, '../sim/pyconfig'))
-from importer import mpy_exec, mpy_execfile, AddToPath
+from importer import AddToPath, LoadMpyFile
from m5config import *
+AddToPath('.')
+
try:
opts, args = getopt.getopt(sys.argv[1:], '-E:I:')
for opt,arg in opts:
@@ -55,8 +56,7 @@ except getopt.GetoptError:
sys.exit('Improper Usage')
for arg in args:
- AddToPath(os.path.dirname(arg))
- mpy_execfile(arg)
+ LoadMpyFile(arg)
if globals().has_key('root') and isinstance(root, type) \
and issubclass(root, Root):