[LLVMdev] Unit tests failure in debug mode

Joey Gouly joey.gouly at gmail.com
Wed Jul 30 05:22:16 PDT 2014


I saw these too. There is a stale binary in unittests/Object, just delete
it. The tests have been moved to unittests/MC.
On 30 Jul 2014 12:47, "Renato Golin" <renato.golin at linaro.org> wrote:

> I have a debug tree with shared objects enabled (to help streamline
> the development process), and I see those unit tests failing where
> they don't fail on a release/static build.
>
> Anyone seeing these, too?
>
> FAIL: LLVM-Unit :: Object/ObjectTests/StringTableBuilderTest.Basic
> (19422 of 20473)
> ******************** TEST 'LLVM-Unit ::
> Object/ObjectTests/StringTableBuilderTest.Basic' FAILED
> ********************
> Note: Google Test filter = StringTableBuilderTest.Basic
> [==========] Running 1 test from 1 test case.
> [----------] Global test environment set-up.
> [----------] 1 test from StringTableBuilderTest
> [ RUN      ] StringTableBuilderTest.Basic
> unittests/Object/ObjectTests: symbol lookup error:
> unittests/Object/ObjectTests: undefined symbol:
> _ZN4llvm13StringMapImpl11RehashTableEv
>
> FAIL: LLVM-Unit :: Object/ObjectTests/ObjectYAML.BinaryRef (19424 of 20473)
> ******************** TEST 'LLVM-Unit ::
> Object/ObjectTests/ObjectYAML.BinaryRef' FAILED ********************
> Note: Google Test filter = ObjectYAML.BinaryRef
> [==========] Running 1 test from 1 test case.
> [----------] Global test environment set-up.
> [----------] 1 test from ObjectYAML
> [ RUN      ] ObjectYAML.BinaryRef
> unittests/Object/ObjectTests: symbol lookup error:
> unittests/Object/ObjectTests: undefined symbol:
>
> _ZN4llvm4yaml12ScalarTraitsINS_6object4yaml9BinaryRefEE6outputERKS4_PvRNS_11raw_ostreamE
>
> cheers,
> --renato
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140730/d8e66276/attachment.html>


More information about the llvm-dev mailing list