aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2022-12-12 11:39:36 +0000
committerRon Yorston <rmy@pobox.com>2022-12-12 11:39:36 +0000
commitaeef07a0752ffdc98e1d5a32c508794b93c9f79d (patch)
tree519737ccaaa2f6216612f6a2647bc9652daae192
parented2c6fc1eeab6234f26f9e1817bba8a7d9c84063 (diff)
downloadbusybox-w32-aeef07a0752ffdc98e1d5a32c508794b93c9f79d.tar.gz
busybox-w32-aeef07a0752ffdc98e1d5a32c508794b93c9f79d.tar.bz2
busybox-w32-aeef07a0752ffdc98e1d5a32c508794b93c9f79d.zip
make: fixes to test script
Unset MAKEFLAGS in the test script so it works if it's run using a version of make that has options which pdpmake doesn't understand. Return $FAILCOUNT as the exit status so the number of failures can be reported.
-rwxr-xr-xtestsuite/make.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index 7749bed52..2d286d5b8 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -1,6 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2 2
3. ./testing.sh 3. ./testing.sh
4unset MAKEFLAGS
4 5
5# testing "test name" "command" "expected result" "file input" "stdin" 6# testing "test name" "command" "expected result" "file input" "stdin"
6 7
@@ -529,3 +530,5 @@ file1:
529 @touch file1 530 @touch file1
530' 531'
531cd .. || exit 1; rm -rf make.tempdir 2>/dev/null 532cd .. || exit 1; rm -rf make.tempdir 2>/dev/null
533
534exit $FAILCOUNT