tst_textarea tests fails on desktop when using dpkg-buildpackage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description:
tst_textarea tests fails on desktop when using dpkg-buildpackage
steps:
1. bzr branch lp:ubuntu-ui-toolkit on trusty amd64 desktop
2. cd ubuntu-ui-toolkit
3. sudo apt-get build-dep ubuntu-ui-toolkit
4. dpkg-buildpackage
expected result:
debs are built
Actual result:
deb fails to build due to test failing
log of failing test:
Executing ./tst_components -input tst_textarea.qml -import "../../../modules" -maxwarnings 20 -platform minimal -o ../../test_
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QQmlExpression: Expression file://
QuickUtils:
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
QFontDatabase: Cannot find font directory '/usr/lib/
********* Start testing of components *********
Config: Using QTest library 5.0.2, Qt 5.0.2
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
XFAIL : components:
Loc: [/home/
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
FAIL! : components:
Actual (): false
Expected (): true
Loc: [/home/
PASS : components:
FAIL! : components:
Actual (): false
Expected (): true
Loc: [/home/
FAIL! : components:
Actual (): false
Expected (): true
Loc: [/home/
QWARN : components:
QWARN : components:
../../unit/
FAILURE: Failed to execute test with -platform minimal, lets try without
Executing ./tst_components -input tst_textarea.qml -import "../../../modules" -maxwarnings 20 -o ../../test_
QQmlExpression: Expression file://
QuickUtils:
********* Start testing of components *********
Config: Using QTest library 5.0.2, Qt 5.0.2
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
XFAIL : components:
Loc: [/home/
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
FAIL! : components:
Actual (): false
Expected (): true
Loc: [/home/
PASS : components:
FAIL! : components:
Actual (): false
Expected (): true
Loc: [/home/
FAIL! : components:
Actual (): false
Expected (): true
Loc: [/home/
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
PASS : components:
Totals: 67 passed, 3 failed, 0 skipped
********* Finished testing of components *********
make[5]: *** [check] Error 3
make[5]: Leaving directory `/home/
make[4]: *** [sub-tst_
make[4]: Leaving directory `/home/
make[3]: *** [sub-unit_
make[3]: Leaving directory `/home/
make[2]: *** [sub-tests-check] Error 2
make[2]: Leaving directory `/home/
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 2
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Zsombor Egri: Approve
- Tim Peeters: Approve
-
Diff: 455 lines (+100/-63)17 files modifieddebian/control (+2/-0)
debian/rules (+4/-0)
modules/Ubuntu/Components/OptionSelector.qml (+1/-2)
modules/Ubuntu/Components/TextField.qml (+2/-2)
tests/unit/add_makecheck.pri (+1/-3)
tests/unit/add_qmlmakecheck.pri (+1/-1)
tests/unit/runtest.sh (+15/-18)
tests/unit_x11/add_makecheck.pri (+3/-10)
tests/unit_x11/add_qmlmakecheck.pri (+2/-7)
tests/unit_x11/tst_components/tst_optionselector.qml (+18/-5)
tests/unit_x11/tst_components/tst_tabbar.qml (+2/-7)
tests/unit_x11/tst_components/tst_tabs.qml (+6/-1)
tests/unit_x11/tst_components/tst_textfield.qml (+5/-4)
tests/unit_x11/tst_orientation/ManualAngle.qml (+5/-1)
tests/unit_x11/tst_orientation/tst_orientation.cpp (+1/-2)
tests/unit_x11/tst_theme_engine/tst_theme_enginetest.cpp (+2/-0)
tests/xvfb.sh (+30/-0)
description: | updated |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:ubuntu-ui-toolkit at revision 897, scheduled for release in ubuntu-ui-toolkit, milestone Unknown