Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/12029

Change subject: systemc: Fix a small bug in verify.py.
......................................................................

systemc: Fix a small bug in verify.py.

The src_dir method of the Test class was using the wrong attribute of
the test from the json file. It should use path, but was using src_dir.

Change-Id: Iaaaf31c31b11b68ecd7dd98807e6b78597cebb99
---
M src/systemc/tests/verify.py
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/systemc/tests/verify.py b/src/systemc/tests/verify.py
index aa9ec35..d46e3cc 100755
--- a/src/systemc/tests/verify.py
+++ b/src/systemc/tests/verify.py
@@ -70,7 +70,7 @@
         return os.path.join(self.build_dir, tests_rel_path, self.path)

     def src_dir(self):
-        return os.path.join(script_path, self.path)
+        return os.path.join(script_dir, self.path)

     def golden_dir(self):
         return os.path.join(self.src_dir(), 'golden')

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

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Iaaaf31c31b11b68ecd7dd98807e6b78597cebb99
Gerrit-Change-Number: 12029
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to