Wed 01 Mar 2006 04:20:11 AM UTC, original submission:
--- TEST ENVIRONMENT:
GNU make on CYGWIN_NT-5.1 x2 1.5.19(0.150/4/2) i686
GNU Make 3.81rc1
--- ANALYSIS:
tests/scripts/functions/foreach includes the code:
# On WIN32 systems, the user's path is found in %Path% ($Path)
#
$pathvar = (($port_type eq 'Windows') ? "Path" : "PATH");
'Windows' is not a value that $port_type ever contains.
--- PROPOSED FIX:
$pathvar = (($port_type eq 'W32') ? "Path" : "PATH");
--- PROBLEM WITH PROPOSED FIX - INCOMPATIBLE WITH FIX FOR BUG #15937:
If $port_type eq 'W32' on Cygwin, one of the foreach tests fails.
In Cygwin bash environment only PATH and not Path exists.
QUESTION: Does this same issue apply to MinGW (also identified as 'W32')
functions/foreach ....................................... FAILED (3/4 passed)
--- FILE: work/functions/foreach.diff:
- work/functions/foreach.base Tue Feb 28 14:19:06 2006
--- work/functions/foreach.log Tue Feb 28 14:19:06 2006
***************
! undefined file default file environment default file command line override automatic automatic
! foo.o bletch.o null.o @.o garf.o .o .o undefined.o file.o default.o file.o environment.o default.o file.o command.o line.o override.o automatic.o automatic.o
--- 1,2 ----
! undefined file default file undefined default file command line override automatic automatic
! foo.o bletch.o null.o @.o garf.o .o .o undefined.o file.o default.o file.o undefined.o default.o file.o command.o line.o override.o automatic.o automatic.o
|