From 60c8cbbb7b319682194a618097cf69727e47b9ca Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 16 Nov 2006 21:40:42 +0000 Subject: [PATCH] Use new TESTSCRIPTS definition. --- src/libCom/test/Makefile | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/libCom/test/Makefile b/src/libCom/test/Makefile index d8729a3de..ddc6277d5 100644 --- a/src/libCom/test/Makefile +++ b/src/libCom/test/Makefile @@ -123,7 +123,7 @@ rtemsTestHarness_SRCS += rtemsTestHarness.c rtemsTestHarness_SRCS += $(testHarness_SRCS) -TEST_SCRIPTS += $(TESTS:%=%.t) +TESTSCRIPTS_HOST += $(TESTS:%=%.t) # The following are not test programs, they measure performance @@ -148,17 +148,6 @@ fdmgrTest_LIBS += ca include $(TOP)/configure/RULES -test: $(TEST_SCRIPTS) - perl -e 'use Test::Harness; runtests @ARGV;' $(TEST_SCRIPTS) +test: $(TESTSCRIPTS_HOST) + perl -e 'use Test::Harness; runtests @ARGV;' $(TESTSCRIPTS_HOST) -# If there's a perl test script (.plt) available, use it -%.t: ../%.plt - @$(RM) $@ - @$(CP) $< $@ - -# Some versions of Test::Harness expect test programs in perl only. -# Generate a 1-line perl program to exec the real test binary. -# Uses the $0 runtime path to itself to find the executable. -%.t: %$(EXE) - @$(RM) $@ - @echo '($$e=$$0)=~s/.t$$/$(EXE)/;exec "./$$e" or die "exec failed";'>$@