From d36d9009683968f681b44b669e09fab71c21a026 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 22 May 2023 07:46:51 -1000 Subject: [PATCH] makefile: Fix regression that skipped running per simulator specific tests --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index f12d97ab..ff8bd7fc 100644 --- a/makefile +++ b/makefile @@ -3086,9 +3086,9 @@ $(TARGET): $(DEPS) copy $(TARGET) $(@D)\$(ALTNAME)${EXE} endif endif - ifneq (,$(call find_test,$(word 1,$(DIRS)),$(TEST_NAME))) + ifneq (,$(call find_test,$(word 2,$(DIRS)),$(TEST_NAME))) # invoke the just built simulator to engage its test activities - $@ $(call find_test,$(word 1,$(DIRS)),$(TEST_NAME)) ${TEST_ARG} + $@ $(call find_test,$(word 2,$(DIRS)),$(TEST_NAME)) ${TEST_ARG} endif ifneq (,$(SOURCE_CHECK)) $@ $(SOURCE_CHECK_SWITCHES) CheckSourceCode $(DEPS)