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

Mac OS 10.8: tst_qqmllanguage::importIncorrectCase() and tst_qqmllanguage::errors(incorrectCase) fail

    XMLWordPrintable

Details

    • macOS
    • 18f21746d7e58bec0a819d84fe17f245a8439ae8

    Description

      See http://testresults.qt-project.org/qtmetrics/autoteststatus/index.html , this has been prominently visible for a while:

      Testing tst_qqmllanguage
      FAIL!  : tst_qqmllanguage::errors(incorrectCase) Compared lists have different sizes.
         Actual   (expected) size: 2
         Expected (actual) size: 1
         Loc: [tst_qqmllanguage.cpp(540)]
      FAIL!  : tst_qqmllanguage::importIncorrectCase() Compared values are not the same
         Actual   (errors.at(0).description()): "File not found"
         Expected (expectedError)             : "File name case mismatch"
         Loc: [tst_qqmllanguage.cpp(2586)]
      Totals: 451 passed, 2 failed, 0 skipped
      QtQA::App::TestRunner: test failed, running again to see if it is flaky...
      ********* Start testing of tst_qqmllanguage *********
      Config: Using QtTest library 5.3.0, Qt 5.3.0
      PASS   : tst_qqmllanguage::initTestCase()
      --
      PASS   : tst_qqmllanguage::errors(notAvailable)
      PASS   : tst_qqmllanguage::errors(singularProperty)
      PASS   : tst_qqmllanguage::errors(singularProperty.2)
      FAIL!  : tst_qqmllanguage::errors(incorrectCase) Compared lists have different sizes.
         Actual   (expected) size: 2
         Expected (actual) size: 1
         Loc: [tst_qqmllanguage.cpp(540)]
      --
      PASS   : tst_qqmllanguage::importsOrder(local last 1)
      PASS   : tst_qqmllanguage::importsOrder(local last 2)
      PASS   : tst_qqmllanguage::importsOrder(local last 3)
      FAIL!  : tst_qqmllanguage::importIncorrectCase() Compared values are not the same
         Actual   (errors.at(0).description()): "File not found"
         Expected (expectedError)             : "File name case mismatch"
         Loc: [tst_qqmllanguage.cpp(2586)]
      --
      

      It looks like the test always expects the file system to be case-insensitive/case-preserving for Mac & Windows, whereas the CI machine has a case-sensitive file system.

      This probably can be solved by either changing the CI machine config or checking in the test whether the underlying FS is actually case-insensitive . The QVolumeInfo submissions might have code for that: https://codereview.qt-project.org/#change,73945 .

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-37622
          # Subject Branch Project Status CR V

          Activity

            People

              liaqi Liang Qi
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes