[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-3.81rc1 - Cygwin bugs, test errors
From: |
gk |
Subject: |
Re: make-3.81rc1 - Cygwin bugs, test errors |
Date: |
Sun, 26 Feb 2006 06:35:42 -0800 |
I am moving this thread here from help-make list.
I have not created a Savannah bug yet since still under investigation.
I am working on re-writing default_names perl script as I go and will
submit revision for approval when done.
At 07:06 AM 2/25/2006, I wrote:
At 06:41 AM 2/24/2006, gk wrote:
Finding tests...
features/comments ....................................... ok (1 passed)
features/conditionals ................................... ok (4 passed)
features/default_names ..................................
*** Test died (features/default_names): test_driver.pl: 453: abort at
test_drive
r.pl line 638.
After further investigation, I have some more info.
It appears that tests/scripts/features/default_names had, for some reason,
created a makefile in the top level of tests directory, instead of under
'work' directory.
# FILE: tests/makefile
THIRD: ; @echo It chose Makefile
# eof
This file was generated by default_names (line 32):
# Create another makefile called "Makefile"
open(MAKEFILE,"> Makefile");
print MAKEFILE "THIRD: ; address@hidden It chose Makefile\n";
This was a temporary file that should have been deleted after the test run
but wasn't for a couple of reasons:
1. Since it was (for some still unknown reason - possibly due to errors in
INSTALL file instructions which instructed me to run 'make check' prior to
'./make install') created in the wrong location (outside of work
directory), it was not deleted by the test_driver.pl script's toplevel()
function
2. default_names calls error() and dies prior to cleanup code:
# COMPARE RESULTS
&compare_output($answer,&get_logfile(1)) || &error("abort");
unlink $makefile;
I am cleaning up and moving the unlink prior to the error call.
- Greg Keraunen
http://www.xmake.org
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: make-3.81rc1 - Cygwin bugs, test errors,
gk <=