Skip to content
Permalink
Browse files

Merge pull request #42726 from MorriganR/fixCMakeTest

fix Test Build if set ENABLE_PGTEST and not set WITH_SERVER
  • Loading branch information
elpaso committed Apr 9, 2021
2 parents 8b9134a + a4ca5bf commit 6df122bd199be24d881c0b7a9d433738406aeee3
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/python/CMakeLists.txt
@@ -390,13 +390,14 @@ if (ENABLE_PGTEST)
if (WITH_SERVER)
ADD_PYTHON_TEST(PyQgsServerWMSGetFeatureInfoPG test_qgsserver_wms_getfeatureinfo_postgres.py)
ADD_PYTHON_TEST(PyQgsServerAccessControlWMSGetPrintPG test_qgsserver_accesscontrol_wms_getprint_postgres.py)
SET_TESTS_PROPERTIES(PyQgsServerWMSGetFeatureInfoPG PyQgsServerAccessControlWMSGetPrintPG PROPERTIES LABELS "POSTGRES")
endif()
SET_TESTS_PROPERTIES(PyQgsImportIntoPostGIS PyQgsQueryResultModel PyQgsVectorFileWriterPostgres PyQgsPostgresProvider
PyQgsVectorLayerUtilsPostgres PyQgsPostgresRasterProvider PyQgsPostgresDomain PyQgsPostgresTransaction
PyQgsRelationEditWidget PyQgsRelationPostgres PyQgsVectorLayerTools PyQgsProjectStoragePostgres
PyQgsAuthManagerPKIPostgresTest PyQgsAuthManagerPasswordPostgresTest PyQgsAuthManagerOgrPostgresTest
PyQgsDbManagerPostgis PyQgsDatabaseSchemaModel PyQgsDatabaseTableModel PyQgsDatabaseSchemaComboBox PyQgsDatabaseTableComboBox
PyQgsProviderConnectionPostgres PyQgsServerWMSGetFeatureInfoPG PyQgsServerAccessControlWMSGetPrintPG
PyQgsProviderConnectionPostgres
PROPERTIES LABELS "POSTGRES")
endif()

0 comments on commit 6df122b

Please sign in to comment.