Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89011

test runner is unable to run only initTestCase()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.4.0 Beta1
    • 6.0
    • Testing: qtestlib
    • None
    • Linux/X11
    • b4d9d5c89c (qt/qtbase/dev) b4d9d5c89c (qt/tqtc-qtbase/dev)

    Description

      From Coin logs:

      target_wrapper.sh  ./tst_qtcpserver initTestCase -maxwarnings 0
      ********* Start testing of tst_QTcpServer *********
      Config: Using QtTest library 6.0.0, Qt 6.0.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 9.3.0), ubuntu 20.04
      Unknown test function: 'initTestCase'. Possible matches:
      ./tst_qtcpserver -functions
      lists all available test functions.
      make[1]: *** [Makefile:306: check_network] Error 1
      make[1]: Leaving directory '/home/qt/work/qt/qtbase/tests/auto/network/socket/qtcpserver/test'

      This is probably a flaky failure inside initTestCase() (failed just before this log-snippet) but since the test runner can't re-run the specific function, the flaky failure became a permanent one.

      It would be nice to be able to recognize and run just the initTestCase() function.

      Attachments

        For Gerrit Dashboard: QTBUG-89011
        # Subject Branch Project Status CR V

        Activity

          People

            jimis Dimitrios Apostolou
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes