Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Qt Contribution
  4. Qt tests errors
QtWS25 Last Chance

Qt tests errors

Scheduled Pinned Locked Moved Unsolved Qt Contribution
3 Posts 2 Posters 1.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ceamarger
    wrote on last edited by ceamarger
    #1

    Hello,

    I will certainly begin to contribute to Qt and I'm trying to run the autotests before to continue. When I run the tests I got some fails (for example 21 fails for tst_QCollator) and then an error and it breaks. Here is the end of the output :

    ...
    QWARN  : tst_QCollator::compare(french5) Only default locale supported with the posix collation implementation
    FAIL!  : tst_QCollator::compare(french5) Compared values are not the same
       Actual   (collator.compare(s1, s2)): 8
       Expected (result)                  : -1
       Loc: [tst_qcollator.cpp(176)]
    PASS   : tst_QCollator::state()
    PASS   : tst_QCollator::cleanupTestCase()
    Totals: 12 passed, 21 failed, 0 skipped, 0 blacklisted, 1ms
    ********* Finished testing of tst_QCollator *********
    Makefile:1238: recipe for target 'check' failed
    make[6]: *** [check] Error 21
    make[6]: Leaving directory '/home/user/qt5/qtbase/tests/auto/corelib/tools/qcollator'
    Makefile:4436: recipe for target 'sub-qcollator-check' failed
    make[5]: *** [sub-qcollator-check] Error 2
    make[5]: Leaving directory '/home/user/qt5/qtbase/tests/auto/corelib/tools'
    Makefile:1733: recipe for target 'sub-tools-check' failed
    make[4]: *** [sub-tools-check] Error 2
    make[4]: Leaving directory '/home/user/qt5/qtbase/tests/auto/corelib'
    Makefile:1806: recipe for target 'sub-corelib-check' failed
    make[3]: *** [sub-corelib-check] Error 2
    make[3]: Leaving directory '/home/user/qt5/qtbase/tests/auto'
    Makefile:1064: recipe for target 'sub-auto-check' failed
    make[2]: *** [sub-auto-check] Error 2
    make[2]: Leaving directory '/home/user/qt5/qtbase/tests'
    Makefile:1641: recipe for target 'sub-tests-check' failed
    make[1]: *** [sub-tests-check] Error 2
    make[1]: Leaving directory '/home/user/qt5/qtbase'
    Makefile:3207: recipe for target 'module-qtbase-check' failed
    make: *** [module-qtbase-check] Error 2
    

    I think that the fails on some tests might be normal but the errors stop the tests.
    I ran it with "make -j1 check". Is it normal or am I doing something wrong ?
    Thank you in advance :)

    Edit : Ok I ran with -k option, I understand that it breaks because of the fail but I have 55 tests that failed and I can't find if it is normal or not.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Konstantin Tokarev
      wrote on last edited by
      #2

      Make sure that your Qt is built with ICU support

      1 Reply Last reply
      1
      • C Offline
        C Offline
        ceamarger
        wrote on last edited by
        #3

        Thank you, it works for this error.
        So if it works for that I suppose there is a way to solve all errors. I will try to find the solution.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved