diff options
author | Paul Smith <psmith@gnu.org> | 2013-09-22 17:09:46 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-09-22 17:09:46 -0400 |
commit | bd2bcaeda6ccaddcac9f5170501c804c02d05b86 (patch) | |
tree | 879e32605bce5c98f823739b522d84b2ff61a3b6 /tests/test_driver.pl | |
parent | 6773d987318f4c70469d77f235f77d7d126d53bf (diff) | |
download | make-bd2bcaeda6ccaddcac9f5170501c804c02d05b86.tar.gz |
Portability enhancements for Mac OSX.
Don't dup stdout into stderr in the test suite.
Don't rely on $port_type eq "UNIX" to mean case-preserving.
Check against the real output of ar when creating archives.
Diffstat (limited to 'tests/test_driver.pl')
-rw-r--r-- | tests/test_driver.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_driver.pl b/tests/test_driver.pl index 16ae8893..457341b1 100644 --- a/tests/test_driver.pl +++ b/tests/test_driver.pl @@ -220,7 +220,7 @@ sub toplevel print "s" unless $total_tests_failed == 1; print " in $categories_failed Categor"; print ($categories_failed == 1 ? "y" : "ies"); - print " Failed (See .$diffext files in $workdir dir for details) :-(\n\n"; + print " Failed (See .$diffext* files in $workdir dir for details) :-(\n\n"; return 0; } else @@ -752,6 +752,7 @@ sub attach_default_output open($dup, '>&', STDOUT) or error("ado: $! duping STDOUT\n", 1); push @OUTSTACK, $dup; + $dup = undef; open($dup, '>&', STDERR) or error("ado: $! duping STDERR\n", 1); push @ERRSTACK, $dup; |