Skip to content

Commit

Permalink
WIP expand "ifdef RUNTEST_ENABLED" to avoid running on cross
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphlange committed Jan 3, 2025
1 parent ee9093d commit daaf31e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gtestSup/RULES_GTEST
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ TESTPROD_HOST += $(GTESTPROD_HOST)

# Enable testing if this host can run tests for the current target
ifneq (,$(findstring $(T_A),$(EPICS_HOST_ARCH) $(CROSS_COMPILER_RUNTEST_ARCHS)))

RUNTESTS_ENABLED = YES
GTESTLISTS = $(addsuffix .list,$(GTESTS))
JUNITFILES = $(addsuffix -results.xml,$(GTESTS))
endif

#---------------------------------------------------------------
# Automated testing using Google Test
Expand Down Expand Up @@ -57,6 +57,8 @@ else
tapfiles: $(GTESTS_RUN)
endif

endif # this host can run tests for the current target

else
$(warning Warning: cfg/RULES_GTEST file included more than once.)
endif # RULES_GTEST_INCLUDED

0 comments on commit daaf31e

Please sign in to comment.