Skip to content

Commit 701c5c0

Browse files
committed
fix ref_file_check path
Signed-off-by: Jack Luar <[email protected]>
1 parent 18cde48 commit 701c5c0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tools/AutoTuner/test/ref_file_check.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
import os
44

55
cur_dir = os.path.dirname(os.path.abspath(__file__))
6-
src_dir = os.path.join(cur_dir, "../src")
7-
orfs_dir = os.path.join(cur_dir, "../../../flow")
8-
os.chdir(src_dir)
96

107

118
class RefFileCheck(unittest.TestCase):
@@ -15,8 +12,8 @@ class RefFileCheck(unittest.TestCase):
1512

1613
def setUp(self):
1714
configs = [
18-
"../../test/files/no_sdc_ref.json",
19-
"../../test/files/no_fr_ref.json",
15+
os.path.join(cur_dir, "./files/no_sdc_ref.json"),
16+
os.path.join(cur_dir, "./files/no_fr_ref.json"),
2017
]
2118
self.commands = [
2219
f"python3 -m autotuner.distributed"

0 commit comments

Comments
 (0)