Daniel Carvalho has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/46719 )

Change subject: ext: Fix module import in testlib
......................................................................

ext: Fix module import in testlib

Inform where the module is coming from.

Change-Id: I3eb6c9a271b26fa31bb5de8379ac8ba84d742047
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M ext/testlib/__init__.py
1 file changed, 2 insertions(+), 0 deletions(-)



diff --git a/ext/testlib/__init__.py b/ext/testlib/__init__.py
index 898205d..87822c7 100644
--- a/ext/testlib/__init__.py
+++ b/ext/testlib/__init__.py
@@ -38,6 +38,8 @@

 #TODO Remove this awkward bootstrap
 #FIXME
+import sys
+sys.path.insert(1, os.path.join(os.path.dirname(__file__), "../../tests"))
 from gem5 import *

 #TODO Remove this as an export, users should getcwd from os

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/46719
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I3eb6c9a271b26fa31bb5de8379ac8ba84d742047
Gerrit-Change-Number: 46719
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to