Minor fix for test/genini.py.

test/genini.py:
    Use m5execfile to execute .py files so that sys.path gets handled correctly.

--HG--
extra : convert_revision : 8d8c90a7f40d51c95ba0f43bb9f6d7b2ee49f16e
This commit is contained in:
Steve Reinhardt 2005-10-31 22:41:14 -05:00
parent f069f59231
commit 76843fc264

View file

@ -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)