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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.11
    • Testing: qtestlib
    • None

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes