Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.10.0
-
None
Description
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"));
Attachments
Issue Links
- relates to
-
QTBUG-118680 Make auto tests pass with ptest
-
- Open
-