1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 20:12:23 +00:00

makefile: Fix regression that skipped running per simulator specific tests

This commit is contained in:
Mark Pizzolato
2023-05-22 07:46:51 -10:00
parent 6045fea046
commit d36d900968

View File

@@ -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)