From: Gabe Black Date: Wed, 15 Aug 2018 01:42:43 +0000 (-0700) Subject: systemc: Fix a small bug in verify.py. X-Git-Tag: v19.0.0.0~1922 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=895f463bbcf6d0a3503c981dd2a8b7d468a5cce7;p=gem5.git 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 Maintainer: Gabe Black --- 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')