%% "Earnie Boyd" <[EMAIL PROTECTED]> writes:
eb> ^ s/p/program/
Whoops; thanks.
eb> I used the dos2unix method on the .log files. Now we have 42
eb> Tests in 24 Categories failed. Sending Paul the tests/work.
OK, the major (simple) failure here is directories. The base files have
lines like this:
make: Entering directory `/src/make-3.81beta3/tests/work'
and the log files have this:
make: Entering directory `C:/opt/MinGW/src/make-3.81beta3/tests/work'
GNU make gets its path from the getcwd_fs() function (on Windows). The
base files get their path from this Perl function in run_make_tests.pl:
sub get_this_pwd {
if ($vos) {
$delete_command = "delete_file";
$__pwd = `++(current_dir)`;
}
else {
$delete_command = "rm";
chop ($__pwd = `pwd`);
}
return $__pwd;
}
If you could find a way, on Windows, to get a more accurate pathname
that would help a lot.
One way, and I don't know if this will work, would be to ask make; maybe
something like this:
$pwd = `echo 'all:;@echo $(CURDIR)' | $make_path -f-`
Or maybe there's a builtin Perl function that can be used.
There are, of course, other problems besides this. Some of them might
even be bugs; I'll have to look again.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32