Two more test directories needing G_LOG_DOMAIN defined.

Should fix CI failures.
This commit is contained in:
John Ralls 2020-05-10 10:18:36 -07:00
parent 8d64c011c5
commit fc637aadc7
2 changed files with 5 additions and 1 deletions

View File

@ -36,5 +36,6 @@ if (WITH_SQL AND NOT WIN32)
TEST_MYSQL_URL=\"${TEST_MYSQL_URL}\"
TEST_PGSQL_URL=\"${TEST_PGSQL_URL}\"
DBI_TEST_XML_FILENAME=\"${CMAKE_CURRENT_SOURCE_DIR}/test-dbi.xml\"
G_LOG_DOMAIN=\"gnc.backend.dbi\"
)
endif()

View File

@ -23,5 +23,8 @@ if(WITH_SQL)
gnc_add_test(test-sqlbe "${test_backend_sql_SOURCES}"
BACKEND_SQL_TEST_INCLUDE_DIRS BACKEND_SQL_TEST_LIBS
)
target_compile_definitions(test-sqlbe PRIVATE TESTPROG=test_sqlbe)
target_compile_definitions(
test-sqlbe PRIVATE TESTPROG=test_sqlbe
G_LOG_DOMAIN=\"gnc.backend.sql\"
)
endif()