From 895f463bbcf6d0a3503c981dd2a8b7d468a5cce7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 14 Aug 2018 18:42:43 -0700 Subject: [PATCH] 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 --- src/systemc/tests/verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.30.2