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

Clean out all warnings from test output

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.5
    • Testing: qtestlib
    • None
    • Warning-free tests
    • All

      Just as for builds, if test-runs routinely have warnings in them, no-one will notice when their change causes a new warning, to which they should be paying attention. So we should aim to make test-runs warning-free.

      Fortunately QtTestLib provides the tools to

      • fail a test if it produces warnings or
      • filter out expected messages when a test should produce them, and fail if it doesn't.

      We should aim, over time, to clear all our tests of warnings (and preferably other messages) by marking those that should be seen as expected. We would ideally arrange for a Coin Precheck to report any new warnings, even on success; and potentially have Coin reject changes if they add (perhaps: more than some threshold level of) new warnings.

      Prompted by a request on the review of making duplicate test-data tags trigger warnings.

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

            macadder Jason McDonald
            Eddy Edward Welbourne
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes