[LLVMbugs] [Bug 6390] New: Setting VERBOSE=1 in Makefile.config is invalid in test/Makefile

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 22 09:50:43 PST 2010


http://www.llvm.org/bugs/show_bug.cgi?id=6390

           Summary: Setting VERBOSE=1 in Makefile.config is invalid in
                    test/Makefile
           Product: Build scripts
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: yann at droneaud.fr
                CC: llvmbugs at cs.uiuc.edu
   Estimated Hours: 0.0


I'm using VERBOSE=1 in Makefile.config in order to see compilation flags used.
But this is a problem when running make check: runtest failed with argument
"1".

Indeed, test/Makefile have this:

ifdef VERBOSE
RUNTESTFLAGS := $(VERBOSE)
LIT_ARGS := -v
else
LIT_ARGS := -s -v
endif

So it fails with:

make[1]: Entering directory `llvm/test'
Making a new site.exp file...
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 512000 ; \
         
PATH="llvm/Debug+Checks/bin:llvm/test/Scripts:/bin:/usr/lib/ccache/bin:/opt/llvm/bin:/opt/wine/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/games"
\
          /usr/bin/runtest 1 --ignore "llvm2cpp.exp" )
WARNING: Couldn't find the global config file.

Illegal Argument "1"
try "runtest --help" for option list
make[1]: *** [check-local] Error 1

-- 
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are watching all bug changes.



More information about the llvm-bugs mailing list