diff options
author | Gabe Black <gabeblack@google.com> | 2018-08-14 18:42:43 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-22 00:48:39 +0000 |
commit | 895f463bbcf6d0a3503c981dd2a8b7d468a5cce7 (patch) | |
tree | 10528ca40f62cf9b532c6834205c01a81adf529a /src/systemc | |
parent | d84a0714220ffcc10eed0530ec01ed1a01a4ad4b (diff) | |
download | gem5-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>
Diffstat (limited to 'src/systemc')
-rwxr-xr-x | src/systemc/tests/verify.py | 2 |
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') |