[LLVMbugs] [Bug 8438] cmake: "make check" warns about unittests

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 9 18:49:13 PST 2010


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

NAKAMURA Takumi <geek4civic at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from NAKAMURA Takumi <geek4civic at gmail.com> 2010-12-09 20:49:12 CST ---
Finished at r121455. I did several tweaks.

"make check" will build unittests.
lit can pick up unittests even if CMAKE_BUILD_TYPE were not specified.

an example log on x86_64-centos5.

$ cmake /path/to/src/llvm -DLLVM_LIT_ARGS='-v -j4'

(You may specify CMAKE_BUILD_TYPE=Release)

$ make check -j4

(snip)

[ 98%] Running LLVM regression tests
-- Testing: 5713 tests, 4 threads --
PASS: LLVM :: Analysis/BasicAA/2003-03-04-GEPCrash.ll (1 of 5713)
PASS: LLVM :: Analysis/BasicAA/2003-02-26-AccessSizeTest.ll (2 of 5713)
PASS: LLVM :: Analysis/BasicAA/2003-04-25-GEPCrash.ll (3 of 5713)
PASS: LLVM :: Analysis/BasicAA/2003-04-22-GEPProblem.ll (4 of 5713)

(snip)

PASS: LLVM-Unit :: VMCore/VMCoreTests/ValueMapTest/2.OperationsWork (5710 of
57)
PASS: LLVM-Unit :: VMCore/VMCoreTests/ValueMapTest/2.LocksMutex (5711 of 5713)
PASS: LLVM-Unit ::
VMCore/VMCoreTests/ValueMapTest/2.SurvivesModificationByConf)
PASS: LLVM-Unit :: VMCore/VMCoreTests/VerifierTest.Branch_i1 (5713 of 5713)
Testing Time: 52.82s
  Expected Passes    : 5113
  Expected Failures  : 43
  Unsupported Tests  : 557
[100%] Built target check

-- 
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