summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-08-14 18:42:43 -0700
committerGabe Black <gabeblack@google.com>2018-08-22 00:48:39 +0000
commit895f463bbcf6d0a3503c981dd2a8b7d468a5cce7 (patch)
tree10528ca40f62cf9b532c6834205c01a81adf529a
parentd84a0714220ffcc10eed0530ec01ed1a01a4ad4b (diff)
downloadgem5-895f463bbcf6d0a3503c981dd2a8b7d468a5cce7.tar.xz
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 Reviewed-on: https://gem5-review.googlesource.com/12029 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
-rwxr-xr-xsrc/systemc/tests/verify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/tests/verify.py b/src/systemc/tests/verify.py
index aa9ec3528..d46e3cc82 100755
--- a/src/systemc/tests/verify.py
+++ b/src/systemc/tests/verify.py
@@ -70,7 +70,7 @@ class Test(object):
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')