Skip to content
Permalink
Browse files
fix Test Build if set ENABLE_PGTEST and not set WITH_SERVER
  • Loading branch information
MorriganR committed Apr 8, 2021
1 parent b695f06 commit a4ca5bfe39ef2ba35d6883f879c96c4c30900d91
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 a4ca5bf

Please sign in to comment.