[LLVMbugs] [Bug 12462] New: 'make check' w/ different ENABLE_OPTIMIZED= setting than 'make' crashes lit

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 4 17:02:02 PDT 2012


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

             Bug #: 12462
           Summary: 'make check' w/ different ENABLE_OPTIMIZED= setting
                    than 'make' crashes lit
           Product: Test Suite
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: lit
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: grosbach at apple.com
                CC: daniel at zuster.org, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


$ configure --enabled-optimized=no --enable-assertions=yes
$ make ENABLED_OPTIMIZED=1
$ make check
llvm[0]: Running test suite
Making a new site.exp file...
Making LLVM 'lit.site.cfg' file...
Making LLVM unittest 'lit.site.cfg' file...
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ; \
      /Users/grosbaj/sources/llvm-421.2/utils/lit/lit.py -s -v . )
/bin/sh: line 0: ulimit: virtual memory: cannot modify limit: Operation not
permitted
Traceback (most recent call last):
  File "/Users/grosbaj/sources/llvm-421.2/utils/lit/lit.py", line 5, in
<module>
    lit.main()
  File "/Users/grosbaj/sources/llvm-421.2/utils/lit/lit/main.py", line 521, in
main
    testSuiteCache, localConfigCache)[1])
  File "/Users/grosbaj/sources/llvm-421.2/utils/lit/lit/main.py", line 230, in
getTests
    ts,path_in_suite = getTestSuite(path, litConfig, testSuiteCache)
  File "/Users/grosbaj/sources/llvm-421.2/utils/lit/lit/main.py", line 199, in
getTestSuite
    ts, relative = search(item)
  File "/Users/grosbaj/sources/llvm-421.2/utils/lit/lit/main.py", line 183, in
search
    cache[path] = res = search1(path)
  File "/Users/grosbaj/sources/llvm-421.2/utils/lit/lit/main.py", line 174, in
search1
    cfg = TestingConfig.frompath(cfgpath, None, litConfig, mustExist = True)
  File "/Users/grosbaj/sources/llvm-421.2/utils/lit/lit/TestingConfig.py", line
52, in frompath
    exec f in cfg_globals
  File "/Users/grosbaj/sources/build-llvm-clang-421.2/test/lit.site.cfg", line
22, in <module>
    lit.load_config(config, "/Users/grosbaj/sources/llvm-421.2/test/lit.cfg")
  File "/Users/grosbaj/sources/llvm-421.2/utils/lit/lit/LitConfig.py", line 68,
in load_config
    config = config)
  File "/Users/grosbaj/sources/llvm-421.2/utils/lit/lit/TestingConfig.py", line
52, in frompath
    exec f in cfg_globals
  File "/Users/grosbaj/sources/llvm-421.2/test/lit.cfg", line 304, in <module>
    stdout = subprocess.PIPE)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 679, in __init__
    errread, errwrite)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 1228, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make[1]: *** [check-local-lit] Error 1
make: *** [check] Error 2



This looks to have been introduced in:
http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?view=diff&r1=145229&r2=145230

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



More information about the llvm-bugs mailing list