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

The testlib selftest shouldn't rely on matching data after a QFATAL

    XMLWordPrintable

    Details

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

      Description

      As explored in QTBUG-73898: when a test program exercises undefined behaviour, as the crashes selftest does, we can't rely on anything about its output. So, at least for the crashes test, matching of actual and expected output needs to be somewhat flexible from the moment the expected output includes a QFATAL; once we've seen (and matched) a QFATAL, or the next expected line is one, the matching needs to accept actual output that stops prematurely.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                Eddy Edward Welbourne
                Reporter:
                Eddy Edward Welbourne
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes