Bug 416609 - plugins-impex-KisJP2Test (Failed)
Summary: plugins-impex-KisJP2Test (Failed)
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Unittests (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 15:06 UTC by Halla Rempt
Modified: 2022-08-09 08:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2020-01-22 15:06:56 UTC
260/285 Testing: plugins-impex-KisJP2Test
260/285 Test: plugins-impex-KisJP2Test
Command: "/home/boud/dev/b-krita/plugins/impex/jp2/tests/KisJP2Test"
Directory: /home/boud/dev/b-krita/plugins/impex/jp2/tests
"plugins-impex-KisJP2Test" start time: Jan 22 15:25 CET
Output:
----------------------------------------------------------
********* Start testing of KisJP2Test *********
Config: Using QtTest library 5.13.2, Qt 5.13.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.4.0)
PASS   : KisJP2Test::initTestCase()
QDEBUG : KisJP2Test::testImportFromWriteonly() Entering "TestUtil::prepareFile()" QFlags(0x2|0x4|0x20|0x40|0x200|0x400|0x2000|0x4000)
QWARN  : KisJP2Test::testImportFromWriteonly() KoColor debug runtime checks are active.
QDEBUG : KisJP2Test::testImportFromWriteonly() import result =  Cannot read:  5   "Cannot open file for reading. Reason: The file could not be opened."
PASS   : KisJP2Test::testImportFromWriteonly()
QDEBUG : KisJP2Test::testExportToReadonly() Entering "TestUtil::prepareFile()" QFlags(0x2|0x4|0x20|0x40|0x200|0x400|0x2000|0x4000)
QDEBUG : KisJP2Test::testExportToReadonly() Entering "TestUtil::testExportToReadonly()" QObject(0x0)
QDEBUG : KisJP2Test::testExportToReadonly() export result =  Error code =  4   "The file format cannot be parsed."
QDEBUG : KisJP2Test::testExportToReadonly() Make sure you set the correct mimetype in the test case.
FAIL!  : KisJP2Test::testExportToReadonly() Incorrect status.
   Loc: [/home/boud/dev/krita/sdk/tests/filestest.h(259)]
QDEBUG : KisJP2Test::testImportIncorrectFormat() Entering "TestUtil::prepareFile()" QFlags(0x4|0x40|0x200|0x400|0x2000|0x4000)
QDEBUG : KisJP2Test::testImportIncorrectFormat() import result =  Error code =  4   "The file format cannot be parsed."
PASS   : KisJP2Test::testImportIncorrectFormat()
PASS   : KisJP2Test::cleanupTestCase()
Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 1969ms
********* Finished testing of KisJP2Test *********
<end of output>
Test time =   2.04 sec
----------------------------------------------------------
Test Failed.
"plugins-impex-KisJP2Test" end time: Jan 22 15:25 CET
"plugins-impex-KisJP2Test" time elapsed: 00:00:02
----------------------------------------------------------
Comment 1 Halla Rempt 2022-08-09 08:33:12 UTC
Git commit 9488e37c1007314e971fdf7ca512266501a83bae by Halla Rempt.
Committed on 09/08/2022 at 08:33.
Pushed by rempt into branch 'master'.

Re-enable the JP2 Test

It passes now, at least locally...

M  +1    -1    plugins/impex/jp2/tests/CMakeLists.txt

https://invent.kde.org/graphics/krita/commit/9488e37c1007314e971fdf7ca512266501a83bae