Bug 440969 - 5.85.0: test suite is failing
Summary: 5.85.0: test suite is failing
Status: REPORTED
Alias: None
Product: frameworks-sonnet
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.85.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Martin Sandsmark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-14 14:27 UTC by kloczek
Modified: 2021-08-14 14:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kloczek 2021-08-14 14:27:39 UTC
+ xvfb-run -a /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure 'ARGS=--output-on-failure \
                -E "^(sonnet-test_autodetect)"'
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/sonnet-5.85.0/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure \
        -E "^(sonnet-test_autodetect)"
Test project /home/tkloczko/rpmbuild/BUILD/sonnet-5.85.0/x86_64-redhat-linux-gnu
    Start 1: appstreamtest
1/6 Test #1: appstreamtest ....................   Passed    0.02 sec
    Start 2: sonnet-test_filter
2/6 Test #2: sonnet-test_filter ...............   Passed    0.02 sec
    Start 3: sonnet-test_core
3/6 Test #3: sonnet-test_core .................   Passed    3.03 sec
    Start 4: sonnet-test_suggest
4/6 Test #4: sonnet-test_suggest ..............   Passed    2.35 sec
    Start 5: sonnet-test_settings
5/6 Test #5: sonnet-test_settings .............***Failed    2.65 sec
********* Start testing of SonnetSettingsTest *********
Config: Using QtTest library 5.15.2, Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.1.1 20210623 (Red Hat 11.1.1-6)), fedora 35
PASS   : SonnetSettingsTest::initTestCase()
QWARN  : SonnetSettingsTest::testRestoreDoesNotSave() kf.sonnet.core: No language dictionaries for the language: "C" trying to load en_US as default
PASS   : SonnetSettingsTest::testRestoreDoesNotSave()
QWARN  : SonnetSettingsTest::testSpellerAPIChangeSaves() kf.sonnet.core: No language dictionaries for the language: "C" trying to load en_US as default
FAIL!  : SonnetSettingsTest::testSpellerAPIChangeSaves() Compared values are not the same
   Actual   (settingsLang): "cs_CZ"
   Expected (defLang)     : "C"
   Loc: [/home/tkloczko/rpmbuild/BUILD/sonnet-5.85.0/autotests/test_settings.cpp(87)]
PASS   : SonnetSettingsTest::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 2589ms
********* Finished testing of SonnetSettingsTest *********

    Start 6: sonnet-test_highlighter
6/6 Test #6: sonnet-test_highlighter ..........   Passed    0.09 sec

83% tests passed, 1 tests failed out of 6

Total Test time (real) =   8.16 sec

The following tests FAILED:
          5 - sonnet-test_settings (Failed)
Errors while running CTest
Comment 1 kloczek 2021-08-14 14:32:12 UTC
Looks lie it is some test units dependency because after deselectin sonnet-test_autodetect anopther (sonnet-test_highlighter) is failing.
Without deselection everything seems is ok now.