From 449c68ccae12a4e2b5e0cb5e23863b8d6b4e4129 Mon Sep 17 00:00:00 2001 From: Eren Dogan Date: Fri, 22 Jul 2022 18:11:14 +0300 Subject: [PATCH] Fix file setup in code format test --- compiler/tests/00_code_format_check_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests/00_code_format_check_test.py b/compiler/tests/00_code_format_check_test.py index 7fb5862d..24e203ab 100755 --- a/compiler/tests/00_code_format_check_test.py +++ b/compiler/tests/00_code_format_check_test.py @@ -51,7 +51,7 @@ def setup_files(path): files = [] for (dir, _, current_files) in os.walk(path): for f in current_files: - files.append(os.getenv("OPENRAM_HOME")) + files.append(os.path.join(dir, f)) nametest = re.compile("\.py$", re.IGNORECASE) select_files = list(filter(nametest.search, files)) return select_files