Skip to content

Commit 46a2e08

Browse files
committed
Run Simics from project
This makes sure that Python paths etc are set correctly.
1 parent ba73649 commit 46a2e08

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,10 +745,9 @@ def run_simics(self, pyfile=None, auto_instantiate=True):
745745
sc.close()
746746

747747
self.pr("Running Simics")
748-
args = [join(simics_base_path(), "bin", "simics" + bat_sfx),
748+
args = [join(testparams.project_path(), "bin", "simics" + bat_sfx),
749749
"--batch-mode", "--quiet", "--no-copyright", "--no-settings",
750750
"--dump-core", "--werror",
751-
"--project", testparams.project_path(),
752751
self.scriptname]
753752
env = os.environ.copy()
754753
env.update(self.extraenv)

0 commit comments

Comments
 (0)