Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ut_MInputMethodQuickPlugin::testQmlSetup fails to test on Debian testing/unstable #91

Closed
sunweaver opened this issue Mar 7, 2022 · 4 comments

Comments

@sunweaver
Copy link

When building maliit-framework against a recent (2022-03-07) Debian unstable, the Ut_MInputMethodQuickPlugin::testQmlSetup chokes on the helloworld.qml example:

      Start  8: ut_minputmethodquickplugin

8: Test command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ut_minputmethodquickplugin
8: Environment variables: 
8:  TESTING_IN_SANDBOX=1
8:  TESTPLUGIN_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/plugins
8:  TESTDATA_PATH=/<<PKGBUILDDIR>>/tests
8:  QT_QPA_PLATFORM=minimal
8: Test timeout computed to be: 10000000
8: ********* Start testing of Ut_MInputMethodQuickPlugin *********
8: Config: Using QtTest library 5.15.2, Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.2.0), debian unknown
8: PASS   : Ut_MInputMethodQuickPlugin::initTestCase()
8: QWARN  : Ut_MInputMethodQuickPlugin::testQmlSetup(Hello world) file:///<<PKGBUILDDIR>>/examples/plugins/qml/helloworld/helloworld.qml:48:5: Non-existent attached object 
8:          Component.onCompleted: { 
8:          ^
8: FAIL!  : Ut_MInputMethodQuickPlugin::testQmlSetup(Hello world) 'not testee->inputMethodArea().isEmpty()' returned FALSE. ()
8:    Loc: [./tests/ut_minputmethodquickplugin/ut_minputmethodquickplugin.cpp(88)]
8: PASS   : Ut_MInputMethodQuickPlugin::cleanupTestCase()
8: Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 7ms
8: ********* Finished testing of Ut_MInputMethodQuickPlugin *********
 8/12 Test  #8: ut_minputmethodquickplugin .......***Failed    0.02 sec
********* Start testing of Ut_MInputMethodQuickPlugin *********
Config: Using QtTest library 5.15.2, Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.2.0), debian unknown
PASS   : Ut_MInputMethodQuickPlugin::initTestCase()
QWARN  : Ut_MInputMethodQuickPlugin::testQmlSetup(Hello world) file:///<<PKGBUILDDIR>>/examples/plugins/qml/helloworld/helloworld.qml:48:5: Non-existent attached object 
         Component.onCompleted: { 
         ^
FAIL!  : Ut_MInputMethodQuickPlugin::testQmlSetup(Hello world) 'not testee->inputMethodArea().isEmpty()' returned FALSE. ()
   Loc: [./tests/ut_minputmethodquickplugin/ut_minputmethodquickplugin.cpp(88)]
PASS   : Ut_MInputMethodQuickPlugin::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 7ms
********* Finished testing of Ut_MInputMethodQuickPlugin *********

For now, I have disabled the test. (As a side-note, I am currently preparing an initial upload to Debian of maliit-framework and later on maliit-keyboard).

Full build log has been attached.

maliit-framework_2.2.0-1_amd64-2022-03-07T07:50:13Z.build.log

@sunweaver
Copy link
Author

It seems that the QWARN should either be ignored or amended...

@dobey
Copy link
Contributor

dobey commented Mar 8, 2022

Does the failure go away if you add qml-module-qtquick2 to Build-Depends?

@dobey
Copy link
Contributor

dobey commented Mar 13, 2022

@dobey dobey closed this as completed Mar 13, 2022
@sunweaver
Copy link
Author

@dobey: Sorry, I forgot to send a reply on the above. Yes, the B-D qml-module-qtquick2 solves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants