From 50c0e9e14d2d470ed8d3bba86396cc888cc0b721 Mon Sep 17 00:00:00 2001 From: Dana Singh Date: Mon, 23 Dec 2024 14:14:03 -0500 Subject: [PATCH] #224 Fix assertion for multi-target output paths --- fre/make/tests/test_create_compile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fre/make/tests/test_create_compile.py b/fre/make/tests/test_create_compile.py index 68975abe..cdfa45a7 100644 --- a/fre/make/tests/test_create_compile.py +++ b/fre/make/tests/test_create_compile.py @@ -142,5 +142,5 @@ def test_multi_target(): # Create the compile script create_compile_script.compile_create(yamlfile_path, PLATFORM, MULTI_TARGET, 4, 1, False, False) - for t in MULTI_TARGET: - assert Path(f"{OUT}/fremake_canopy/test/null_model_full/{PLATFORM[0]}-{t}/exec/compile.sh").exists() + assert [Path(f"{OUT}/fremake_canopy/test/null_model_full/{PLATFORM[0]}-{MULTI-TARGET[0]}/exec/compile.sh").exists(), + Path(f"{OUT}/fremake_canopy/test/null_model_full/{PLATFORM[0]}-{MULTI-TARGET[1]}/exec/compile.sh").exists()]