poco/Data/PostgreSQL/testsuite/Makefile

26 lines
648 B
Makefile
Raw Normal View History

2018-05-07 17:28:38 +02:00
#
# Makefile
#
# Makefile for Poco PostgreSQL testsuite
#
include $(POCO_BASE)/build/rules/global
include $(POCO_BASE)/Data/PostgreSQL/PostgreSQL.make
2018-05-07 17:28:38 +02:00
# Note: linking order is important, do not change it.
2020-01-16 19:55:06 +01:00
SYSLIBS += -lpq -lz -lpthread -ldl
2018-05-07 17:28:38 +02:00
objects = PostgreSQLTestSuite Driver PostgreSQLTest SQLExecutor
ifndef POCO_DATA_NO_SQL_PARSER
target_includes += $(POCO_BASE)/Data/SQLParser $(POCO_BASE)/Data/SQLParser/src
endif
2018-05-07 17:28:38 +02:00
target = testrunner
target_version = 1
feat(Data::AbstractSessionImpl): add autoCommit property and tests #4261 (#4262) * fix(Data::AbstracSessionImpl): protect autocommit feature handlers #4261 * chore(CI): re-enable mysql * MySQL SessionImpl: make sure autocommit mode is on when session is openend or reset. * PostgreSQL SessionImpl: reuse autocommit flag of AbstractSessionImpl. * Github workflow: re-activated linux-gcc-make-postgres * Fixed indentation in ci.yml * Fix for DataTest SQLExecutor: use connector * Data::Session: when parser is not used and autocommit mode is off, assume any SQL statement begins a transaction. * PostgreSQL: don't use SQL parser (it currently cannot handle placeholders). * PostgreSQL: added test sessionTransactionNoAutoCommit * PostgreSQL test suite: removed reference to generic SQLExecutor * PostgreSQL: fixes for sessionTransactionNoAutoCommit. * MySQL: added test sessionPoolAndUnicode (from #2801) * Fixed #define in sql-parser * Data generic testsuite: support numbered placeholders * PostgreSQL test suite: added missing include directory to Makefile. * Attempt to fix PostgreSQL Makefiles * PostgreSQL testsuite: added include path to Makefile * PostgreSQL testsuite: added PocoDataTest library to Makefile * DataTest SQLExecutor::formatSQL: don't use string_view * PostgreSQL test suite: delegated most tests to Poco::Data::Test * Makefile: added dependencies on Data-Tests * Weaken assumptions about async in generic transaction tests * Makefile: added dependency for Prometheus samples * Fix deadlock in DataTest SQLExecutor * PostgreSQL tests SQLExecutor: cleanup * feat(Data::AbstractSessionImpl): add autoCommit property and tests #4261 * Brought MySQL backend in line with _autoCommit flag of AbstractSessionImpl. --------- Co-authored-by: Friedrich Wilckens <frwilckens@gmail.com> Co-authored-by: Friedrich Wilckens <friedrich.wilckens@ingramcontent.com>
2023-12-22 09:27:34 +01:00
target_libs = PocoDataPostgreSQL PocoDataTest PocoData PocoFoundation CppUnit
2024-02-19 09:58:05 +01:00
target_includes += $(POCO_BASE)/Data/DataTest/include
2018-05-07 17:28:38 +02:00
include $(POCO_BASE)/build/rules/exec