bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Test failure on Solaris


From: Albert Chin
Subject: Test failure on Solaris
Date: Tue, 5 Jul 2005 15:53:14 -0500
User-agent: Mutt/1.5.6i

I built make-3.81beta3 and ran the test suite:
variables/SHELL ......................................... make: Fatal error: No 
filename argument after -f flag
Error running /opt/build/make-3.81beta3/tests/../make (expected 0; got 512): 
/opt/build/make-3.81beta3/tests/../make -f work/variables/SHELL.mk.1
Error running /opt/build/make-3.81beta3/tests/../make (expected 0; got 512): 
/opt/build/make-3.81beta3/tests/../make -f work/variables/SHELL.mk.2
Error running /opt/build/make-3.81beta3/tests/../make (expected 0; got 512): 
/opt/build/make-3.81beta3/tests/../make -f work/variables/SHELL.mk.3
Error running /opt/build/make-3.81beta3/tests/../make (expected 0; got 512): 
/opt/build/make-3.81beta3/tests/../make -f work/variables/SHELL.mk.4
FAILED (0/5 passed)

The problem is $make_name in variables/SHELL. It is set to "make",
running the system-provided make. This comes from the following in
run_make_tests.pl:
   $string = `sh -c "$make_path -f /dev/null 2>&1"`;
   if ($string =~ /(.*): \*\*\* No targets\.  Stop\./) {
     $make_name = $1;
   }
   else {
     if ($make_path =~ /$pathsep([^\n$pathsep]*)$/) {
       $make_name = $1;
     }  
     else {
       $make_name = $make_path;
     }  
   }    

  $ cd /opt/build/make-3.81beta3
  ./make -f /dev/null
  make: *** No targets.  Stop.

Because of the above, make_name is set to 'make'.

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]