[sword-devel] Testsuite during debian build in chroot

Dmitrijs Ledkovs dmitrij.ledkov at gmail.com
Sun Apr 19 14:38:31 MST 2009


Hello everyone.

Locally I'm trying debian packaging to run test suite during build
time in chroot. I think I've succeeded in doing it. But one test fails
(hence the whole build fails as well). Am I doing something wrong or
the test suite is known to fail?

Please see this extract from build log:

/usr/bin/make  check-TESTS
make[4]: Entering directory
`/home/dmitrij/src/libsword/build-area/sword-1.5.11/tests/cppunit'
.TEST!
.........F...this+is+a+test
..F.F.F.......

url_test.cpp:71:Assertion
Test name: URLTest::testPath
assertion failed
- Expression: !strcmp(m_url1->getPath(), "/index.jsp")

versekey_test.cpp:143:Assertion
Test name: VerseKeyTest::testSingleKeyParsing
assertion failed
- Expression: parseKey("1jn.2.3", "de") == "1. Johannes 2:3"

versekey_test.cpp:179:Assertion
Test name: VerseKeyTest::testRangeKeyParsing
assertion failed
- Expression: parseRangeKey("I. jn 1:1 - 3:10", "en") == "I John 1:1 - I John 3
:10;"

versekey_test.cpp:198:Assertion
Test name: VerseKeyTest::testListKeyParsing
assertion failed
- Expression: parseRangeKey("1Jn 1:1 3:10", "en") == "I John 1:1; I John 3:10;"

Failures !!!
Run: 24   Failure total: 4   Failures: 4   Errors: 0
FAIL: LibSword
=========================================
1 of 1 tests failed
Please report to sword-bugs at crosswire.org
=========================================


-- 
With best regards


Dmitrijs Ledkovs (for short Dima),
Ледков Дмитрий Юрьевич



More information about the sword-devel mailing list