okteta 0.26.4: self tests 53 and 54 fails
Context: voidlinux distribution on x86_64 with musl libc, GCC 9.3, Qt 5.15.1.
building of okteta 0.26.4 is fine.
internal tests are run without graphical display: using " export QT_QPA_PLATFORM=offscreen
"
internal tests #53 and #54 fail:
build and test output:
[100%] Linking CXX executable ../bin/okteta
[100%] Built target okteta
=> okteta-0.26.4_1: running pre_check ...
=> okteta-0.26.4_1: running do_check ...
Running tests...
Test project /builddir/okteta-0.26.4/build
Start 1: appstreamtest
1/57 Test #1: appstreamtest ............................................................ Passed 0.01 sec
Start 2: libkasten-core-testdocumenttest
[...]
Start 53: structures-jsparsertest
53/57 Test #53: structures-jsparsertest ..................................................***Failed 0.02 sec
********* Start testing of JsParserTest *********
Config: Using QtTest library 5.15.1, Qt 5.15.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.3.0)
WARNING: JsParserTest::initTestCase() testdata resources could not be located!
Loc: [../../../kasten/controllers/test/jsparsertest.cpp(118)]
WARNING: JsParserTest::initTestCase() testdata ../view/structures/examples could not be located!
Loc: [../../../kasten/controllers/test/jsparsertest.cpp(119)]
FAIL! : JsParserTest::initTestCase() '!resources.isEmpty()' returned FALSE. (Test data must exist!)
Loc: [../../../kasten/controllers/test/jsparsertest.cpp(120)]
PASS : JsParserTest::cleanupTestCase()
Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of JsParserTest *********
Start 54: structures-customtostringtest
54/57 Test #54: structures-customtostringtest ............................................***Failed 0.02 sec
********* Start testing of CustomToStringTest *********
Config: Using QtTest library 5.15.1, Qt 5.15.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.3.0)
WARNING: CustomToStringTest::initTestCase() testdata ../view/structures/examples could not be located!
Loc: [../../../kasten/controllers/test/customtostringtest.cpp(55)]
FAIL! : CustomToStringTest::initTestCase() '!examples.isEmpty()' returned FALSE. (Test data must exist!)
Loc: [../../../kasten/controllers/test/customtostringtest.cpp(56)]
PASS : CustomToStringTest::cleanupTestCase()
Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 0ms
********* Finished testing of CustomToStringTest *********
Start 55: structures-locktooffsettest
55/57 Test #55: structures-locktooffsettest .............................................. Passed 0.02 sec
Start 56: replacejobtest
56/57 Test #56: replacejobtest ........................................................... Passed 0.06 sec
Start 57: kpart-oktetaparttest
57/57 Test #57: kpart-oktetaparttest ..................................................... Passed 0.08 sec
96% tests passed, 2 tests failed out of 57
Total Test time (real) = 1.12 sec
The following tests FAILED:
53 - structures-jsparsertest (Failed)
54 - structures-customtostringtest (Failed)
Errors while running CTest
make: *** [Makefile:127: test] Error 8
Edit: append end of output
Edited by Pierre Bourgin