diff options
author | Ron Yorston <rmy@pobox.com> | 2022-12-12 11:39:36 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-12-12 11:39:36 +0000 |
commit | aeef07a0752ffdc98e1d5a32c508794b93c9f79d (patch) | |
tree | 519737ccaaa2f6216612f6a2647bc9652daae192 | |
parent | ed2c6fc1eeab6234f26f9e1817bba8a7d9c84063 (diff) | |
download | busybox-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-x | testsuite/make.tests | 3 |
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 |
4 | unset 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 | ' |
531 | cd .. || exit 1; rm -rf make.tempdir 2>/dev/null | 532 | cd .. || exit 1; rm -rf make.tempdir 2>/dev/null |
533 | |||
534 | exit $FAILCOUNT | ||