-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.10.0
-
None
-
8c8ec9842 (dev), 1036144cc (6.10), 70715f7d8 (6.9), 10f03f667 (lts-6.8)
when execute the ptest (tst_qgeoroutingmanager), following segment fault show:
********* Start testing of tst_QGeoRoutingManager ********* Config: Using QtTest library 6.10.0, Qt 6.10.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 15.1.0), wrlinux-graphics 10.25.26.0 FAIL! : tst_QGeoRoutingManager::initTestCase() 'providers.contains("georoute.test.plugin")' returned FALSE. () Loc: [/usr/src/debug/qtlocation/6.10.0/tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp(45)] Received signal 11 (SIGSEGV), code 128, for address 0x0000000000000000 cleanupTestCase function time: 0ms, total time: 1ms
after analysis, there are 2 issues found.
1. not install libqtgeoservices_qmltestplugin.so to /usr/lib64/plugins/geoservices/
https://code.qt.io/cgit/qt/qtlocation.git/tree/tests/auto/geotestplugin/CMakeLists.txt#n2
OUTPUT_NAME qtgeoservices_qmltestplugin
2. the pluginsĀ is defined as qmlgeo.tst.plugin https://code.qt.io/cgit/qt/qtlocation.git/tree/tests/auto/geotestplugin/geotestplugin.json#n2
but, the from souce code, the plugins "georoute.test.plugin" is used:
QVERIFY(providers.contains("georoute.test.plugin"));
- relates to
-
QTBUG-118680 Make auto tests pass with ptest
-
- Open
-
For Gerrit Dashboard: QTBUG-138066 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
660494,2 | ptest: include possible test plugins and qml modules | dev | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
669142,2 | ptest: include possible test plugins and qml modules | 6.10 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
669330,2 | ptest: include possible test plugins and qml modules | 6.9 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
669440,2 | ptest: include possible test plugins and qml modules | lts-6.8 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |