From c90f47e8320b41e3a5bfeb654543d9474f763e5d Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 10 Feb 2005 00:10:57 +0000 Subject: 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. --- tests/run_make_tests.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/run_make_tests.pl') 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)); -- cgit v1.2.3