diff --git a/tests/configs/gccPassConfig.json b/tests/configs/gccPassConfig.json index e74b6fc..5ae0a5b 100644 --- a/tests/configs/gccPassConfig.json +++ b/tests/configs/gccPassConfig.json @@ -1,4 +1,5 @@ { + "testDir": "../packages/CPackage", "testedExecutablePaths": { "gcc": "/usr/bin/gcc" }, @@ -19,6 +20,5 @@ "allowError": true } ] - }, - "testDir": "../packages/CPackage" + } } diff --git a/tests/test_runner.py b/tests/test_runner.py index b83b479..8ea1f49 100644 --- a/tests/test_runner.py +++ b/tests/test_runner.py @@ -7,6 +7,7 @@ def run_tests_for_config(config: Config, expected_result: bool): assert config.packages is not None for exe in config.executables: + exe.source_env() for tc in config.toolchains: tc_runner = ToolChainRunner(tc, timeout=3.0) for pkg in config.packages: