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

Teach generate_expected_selftests.py to null-out line numbers in .tap files

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12
    • Fix Version/s: None
    • Component/s: Testing: qtestlib
    • Labels:
      None
    • Environment:

      Any developer running testlib's selftests

    • Platform/s:
      All
    • Technical Risk:
      Normal

      Description

      We've recently added a new output format, *.tap files, that uses formats unfamiliar to generate_expected_selftests.py, which consequently doesn't replace all line numbers with 0.
      Although the selftest knows to ignore differences in line numbers, the generated output that we save as expected_*.tap gets line number variations, causing noise (and potential conflicts) during merges and when we update the files due to real changes.

        Attachments

        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:

                Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Gerrit Reviews

                  There are no open Gerrit changes