Fixes for make test if '.' is not in $PATH.

This commit is contained in:
Andrew Johnson
2006-11-10 16:32:26 +00:00
parent 6c19051727
commit 62963c7d5d
2 changed files with 3 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ fdmgrTest_LIBS += ca
include $(TOP)/configure/RULES
test: $(TEST_SCRIPTS)
@perl -e 'use Test::Harness; runtests @ARGV;' $(TEST_SCRIPTS)
perl -e 'use Test::Harness; runtests @ARGV;' $(TEST_SCRIPTS)
# If there's a perl test script (.plt) available, use it
%.t: ../%.plt
@@ -162,4 +162,4 @@ test: $(TEST_SCRIPTS)
# Generate a 1-line test program to run the real test binary
%.t: %$(EXE)
@$(RM) $@
@echo 'exec "$<";' >$@
@echo 'exec "./$<";' >$@

View File

@@ -2,7 +2,7 @@
use Test::Simple tests => 1;
$prog = $0;
$prog = "./$0";
$prog =~ s/\.t$//;
$expected = << 'END';