Fix tests

This commit is contained in:
2026-05-01 04:50:49 -04:00
parent 254b7462ba
commit 588f847296
3 changed files with 63 additions and 42 deletions
+5
View File
@@ -26,6 +26,11 @@ function(cppbessot_add_real_pgsql_db_action_test test_name script_name)
message(STATUS "Skipping real PostgreSQL db-action test `${test_name}` because `psql` is not available.")
return()
endif()
find_program(_pg_dump pg_dump)
if(NOT _pg_dump)
message(STATUS "Skipping real PostgreSQL db-action test `${test_name}` because `pg_dump` is not available.")
return()
endif()
if("${CPPBESSOT_DB_PGSQL_PRODDEV_CONNSTR}" STREQUAL "")
message(STATUS "Skipping real PostgreSQL db-action test `${test_name}` because CPPBESSOT_DB_PGSQL_PRODDEV_CONNSTR is empty.")