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

Fix ci tests for grass8 #47974

Merged
merged 4 commits into from
Mar 27, 2022
Merged

Fix ci tests for grass8 #47974

merged 4 commits into from
Mar 27, 2022

Conversation

t0b3
Copy link
Contributor

@t0b3 t0b3 commented Mar 26, 2022

currently ci tests fail for grass8 due to

  • missing testdata in test8
  • missing grass8 case for mapsets
  • wrong crs in info

this PR fixes mapsets(), maps(), vectorLayers() and info()

details see https://cdash.orfeo-toolbox.org/testDetails.php?test=35755260&build=94845

this PR is a prequel for #47887

********* Start testing of TestQgsGrassProvider *********
Config: Using QtTest library 6.2.3, Qt 6.2.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 12.0.1 20220214 (Red Hat 12.0.1-0)), fedora 36
PASS   : TestQgsGrassProvider::initTestCase()
PASS   : TestQgsGrassProvider::fatalError()
PASS   : TestQgsGrassProvider::locations()
FAIL!  : TestQgsGrassProvider::mapsets() 'verify(ok)' returned FALSE. ()
   Loc: [/root/QGIS/tests/src/providers/grass/testqgsgrassprovider.cpp(454)]
FAIL!  : TestQgsGrassProvider::maps() 'verify(ok)' returned FALSE. ()
   Loc: [/root/QGIS/tests/src/providers/grass/testqgsgrassprovider.cpp(475)]
FAIL!  : TestQgsGrassProvider::vectorLayers() 'verify(ok)' returned FALSE. ()
   Loc: [/root/QGIS/tests/src/providers/grass/testqgsgrassprovider.cpp(502)]
PASS   : TestQgsGrassProvider::region()
FAIL!  : TestQgsGrassProvider::info() 'verify(ok)' returned FALSE. ()
   Loc: [/root/QGIS/tests/src/providers/grass/testqgsgrassprovider.cpp(626)]
PASS   : TestQgsGrassProvider::rasterImport()
PASS   : TestQgsGrassProvider::vectorImport()
PASS   : TestQgsGrassProvider::edit()
PASS   : TestQgsGrassProvider::cleanupTestCase()
Totals: 8 passed, 4 failed, 0 skipped, 0 blacklisted, 9014ms
********* Finished testing of TestQgsGrassProvider *********

provide data for
- TestQgsGrassProvider::maps()
- TestQgsGrassProvider::vectorLayers()
@github-actions github-actions bot added this to the 3.26.0 milestone Mar 27, 2022
@lbartoletti lbartoletti merged commit 133e9e7 into qgis:master Mar 27, 2022
@t0b3 t0b3 deleted the fix-ci-tests-for-grass8 branch March 27, 2022 21:09
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

Successfully merging this pull request may close these issues.

None yet

2 participants