diff options
author | Paul Smith <psmith@gnu.org> | 2005-02-10 00:10:57 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2005-02-10 00:10:57 +0000 |
commit | c90f47e8320b41e3a5bfeb654543d9474f763e5d (patch) | |
tree | f1e18c8945deebecf1529c040d01602d9c997eaa /tests/run_make_tests.pl | |
parent | 939167cfc151eae77c0d2a9d01fe2e73cab1a1b1 (diff) | |
download | gunmake-c90f47e8320b41e3a5bfeb654543d9474f763e5d.tar.gz |
Flush stdout after printing directory info.
Fix references to MINGW #define constants.
Remove WINDOWS32 ifdef from sub_proc.h.
Only add variables to the command line for recursion once.
New features in run_make_test: #PWD# and #MAKEPATH# replacements.
Test the multi-variable fix in the recursion regression test.
Diffstat (limited to 'tests/run_make_tests.pl')
-rwxr-xr-x | tests/run_make_tests.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl index 9b9104f..aeba4e8 100755 --- a/tests/run_make_tests.pl +++ b/tests/run_make_tests.pl @@ -81,7 +81,9 @@ sub run_make_test # Replace @MAKEFILE@ with the makefile name and @MAKE@ with the path to # make $makestring =~ s/#MAKEFILE#/$makefile/g; + $makestring =~ s/#MAKEPATH#/$mkpath/g; $makestring =~ s/#MAKE#/$make_name/g; + $makestring =~ s/#PWD#/$pwd/g; # Populate the makefile! open(MAKEFILE, "> $makefile") || die "Failed to open $makefile: $!\n"; @@ -93,7 +95,9 @@ sub run_make_test $answer && $answer !~ /\n$/s and $answer .= "\n"; $answer =~ s/#MAKEFILE#/$makefile/g; + $answer =~ s/#MAKEPATH#/$mkpath/g; $answer =~ s/#MAKE#/$make_name/g; + $answer =~ s/#PWD#/$pwd/g; &run_make_with_options($makefile, $options, &get_logfile(0), $err_code); &compare_output($answer, &get_logfile(1)); |