Qt Creator 3.1.1 fails to run unit tests against Qt 5.4.0 beta

Bug #1394915 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Qt Creator 3.1.1 fails to run some unit tests against Qt 5.4.0 beta, so either the unit tests would need some fixing (or disabling if it's just a single test and it's understood why it now fails) or the Qt Creator should be updated to a newer version:

https://launchpad.net/~canonical-qt5-edgers/+archive/ubuntu/qt5-beta2/+sourcepub/4580982/+listing-archive-extra

---
********* Start testing of tst_fileutils *********
Config: Using QtTest library 5.4.0, Qt 5.4.0 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 4.9.1)
PASS : tst_fileutils::initTestCase()
PASS : tst_fileutils::parentDir(empty path)
PASS : tst_fileutils::parentDir(root only)
PASS : tst_fileutils::parentDir(//)
PASS : tst_fileutils::parentDir(/tmp/dir)
PASS : tst_fileutils::parentDir(relative/path)
XPASS : tst_fileutils::parentDir(relativepath) QCOMPARE(result.toString(), parentPath) returned TRUE unexpectedly.
   Loc: [/build/buildd/qtcreator-3.1.1/tests/auto/utils/fileutils/tst_fileutils.cpp(93)]
PASS : tst_fileutils::isChildOf(empty path)
PASS : tst_fileutils::isChildOf(root only)
PASS : tst_fileutils::isChildOf(/tmp/dir)
PASS : tst_fileutils::isChildOf(relative/path)
PASS : tst_fileutils::isChildOf(/tmpdir)
PASS : tst_fileutils::isChildOf(same)
PASS : tst_fileutils::cleanupTestCase()
Totals: 13 passed, 1 failed, 0 skipped, 0 blacklisted
---

More information about Qt testing versions at https://wiki.ubuntu.com/Touch/QtTesting

Tags: qt5.4
description: updated
Zoltan Balogh (bzoltan)
no longer affects: qtcreator-plugin-ubuntu
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Fixed with the committed but pending patch "enable_test_fixed_in_qt540.diff"

affects: qtcreator-plugin-ubuntu (Ubuntu) → qtcreator (Ubuntu)
Changed in qtcreator (Ubuntu):
status: New → Fix Committed
Changed in qtcreator (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.