[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Re: Question about "cppunit" use
From:       Neil Hodge <neil.hodge () gmail ! com>
Date:       2012-11-10 20:17:28
Message-ID: 509EB658.7080708 () gmail ! com
[Download RAW message or body]

Lukas:

On 11/10/12 12:02 PM, Lukáš Lalinský wrote:
>
> Ok, this is indeed a problem in TagLib itself. Here is the complete message:
>
> https://travis-ci.org/taglib/taglib/jobs/3143418/#L191
>
> I'll try to install clang and fix it.
>

I defined the cmake variables

CMAKE_OSX_ARCHITECTURES="x86_64" (since cppunit is compiled just for the 
existing local arch by default; if you installed with the variant 
"universal", i386 would likely work fine . . .)
CMAKE_CXX_COMPILER=g++

and everything builds successfully, but the test fails, or, in some 
places, is ambiguous (removing all successful tests):

####################################################################
test 1
     Start 1: test_runner

1: Test command: /Users/nhodge/bin/taglib-latest/tests/test_runner
1: Test timeout computed to be: 9.99988e+06
1: Running TestList::testList : OK
...
1: TagLib: String::prepare() - Invalid UTF16 string.
1: TagLib: String::prepare() - Invalid UTF16 string.
1: TagLib: String::prepare() - Invalid UTF16 string.
...
1: TagLib: RIFF::File::read() -- Chunk '' has invalid ID
...
1: TagLib: MP4: Unexpected atom "name", expecting "data"
...
1: TestXM::testWriteTagsShort : assertion
1: TestXM::testWriteTagsLong : assertion
...
1: /Users/nhodge/bin/taglib-latest/tests/test_xm.cpp:206: Assertion
1: Test name: TestXM::testWriteTagsShort
1: assertion failed
1: - Expression: file.save()
1:
1: /Users/nhodge/bin/taglib-latest/tests/test_xm.cpp:206: Assertion
1: Test name: TestXM::testWriteTagsLong
1: assertion failed
1: - Expression: file.save()
1:
1: Failures !!!
1: Run: 174   Failure total: 2   Failures: 2   Errors: 0
1/1 Test #1: test_runner ......................***Failed    0.36 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.37 sec

The following tests FAILED:
	  1 - test_runner (Failed)
Errors while running CTest
make[3]: *** [tests/CMakeFiles/check] Error 8
make[2]: *** [tests/CMakeFiles/check.dir/all] Error 2
make[1]: *** [tests/CMakeFiles/check.dir/rule] Error 2
make: *** [check] Error 2
####################################################################


I'm not sure how yu want to proceed with the cppunit problem, and it is 
unclear to me whether the test failure is related . . .  Let me know.

Neil

_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic