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

test runner is unable to run only initTestCase()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: Testing: qtestlib
    • Labels:
      None
    • Platform/s:
      Linux/X11

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes