Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-2119

tst_licenses.pl says "does not appear to contain a license header" even though there is one

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12
    • Test scripts
    • None

    Description

      On https://codereview.qt-project.org/#/c/215270/, tst_licenses.pl caused the CI run to fail with the following error messages:

       agent:2018/07/13 08:45:28 build.go:185: not ok 198 - src/virtualkeyboard/myscriptinputmethod.cpp does not appear to contain a license header
       agent:2018/07/13 08:45:28 build.go:185: #   Failed test 'src/virtualkeyboard/myscriptinputmethod.cpp does not appear to contain a license header'
       agent:2018/07/13 08:45:28 build.go:185: #   at qt/qtqa-latest/tests/prebuild/license/tst_licenses.pl line 524.
       agent:2018/07/13 08:45:28 build.go:185: not ok 199 - src/virtualkeyboard/myscriptinputmethod.h does not appear to contain a license header
       agent:2018/07/13 08:45:28 build.go:185: #   Failed test 'src/virtualkeyboard/myscriptinputmethod.h does not appear to contain a license header'
       agent:2018/07/13 08:45:28 build.go:185: #   at qt/qtqa-latest/tests/prebuild/license/tst_licenses.pl line 524.
       agent:2018/07/13 08:45:28 build.go:185: not ok 200 - src/virtualkeyboard/myscriptinputmethod_p.h does not appear to contain a license header
       agent:2018/07/13 08:45:28 build.go:185: #   Failed test 'src/virtualkeyboard/myscriptinputmethod_p.h does not appear to contain a license header'
       agent:2018/07/13 08:45:28 build.go:185: #   at qt/qtqa-latest/tests/prebuild/license/tst_licenses.pl line 524.
      

      There is clearly a license header there, so the script should elaborate on why it's not compliant.

      Attachments

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

        Activity

          People

            janihe Jani Heikkinen
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes