Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.0 Alpha
-
Mac OS 10.8 CI node
-
-
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
- relates to
-
QTBUG-32651 [autotest] tst_qqmllanguage fails on OSX 10.8
-
- Closed
-