From d1d10188ccd8cd28882970a26caece15c40ea4db Mon Sep 17 00:00:00 2001 From: Rene Cannao Date: Sun, 22 Mar 2026 21:14:26 +0000 Subject: [PATCH] Register PgSQL FFTO tests in Makefile and groups.json (#5517) Add Makefile rules for the two pg_lite_client-based tests: - test_ffto_pgsql_pipeline-t (links pg_lite_client.cpp) - test_ffto_pgsql_stmt_portal-t (links pg_lite_client.cpp) The other 5 PgSQL FFTO tests use the default wildcard rule (%-t: %-t.cpp) and don't need explicit Makefile entries. Register all 7 new PgSQL FFTO tests in groups.json under legacy-g4 and mysql84-g4 (same groups as test_ffto_pgsql-t): - test_ffto_pgsql_command_types-t - test_ffto_pgsql_concurrent-t - test_ffto_pgsql_errors-t - test_ffto_pgsql_large_resultsets-t - test_ffto_pgsql_mixed_protocol-t - test_ffto_pgsql_pipeline-t - test_ffto_pgsql_stmt_portal-t Co-Authored-By: Claude Opus 4.6 (1M context) --- test/tap/groups/groups.json | 7 +++++++ test/tap/tests/Makefile | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/test/tap/groups/groups.json b/test/tap/groups/groups.json index 1def22aa0..5151fdd99 100644 --- a/test/tap/groups/groups.json +++ b/test/tap/groups/groups.json @@ -253,6 +253,13 @@ "test_ffto_mysql_mixed_protocol-t" : [ "legacy-g4","mysql84-g4" ], "test_ffto_mysql_transactions-t" : [ "legacy-g4","mysql84-g4" ], "test_ffto_pgsql-t" : [ "legacy-g4","mysql84-g4" ], + "test_ffto_pgsql_command_types-t" : [ "legacy-g4","mysql84-g4" ], + "test_ffto_pgsql_concurrent-t" : [ "legacy-g4","mysql84-g4" ], + "test_ffto_pgsql_errors-t" : [ "legacy-g4","mysql84-g4" ], + "test_ffto_pgsql_large_resultsets-t" : [ "legacy-g4","mysql84-g4" ], + "test_ffto_pgsql_mixed_protocol-t" : [ "legacy-g4","mysql84-g4" ], + "test_ffto_pgsql_pipeline-t" : [ "legacy-g4","mysql84-g4" ], + "test_ffto_pgsql_stmt_portal-t" : [ "legacy-g4","mysql84-g4" ], "test_filtered_set_statements-t" : [ "legacy-g3","mysql84-g3","mysql-auto_increment_delay_multiplex=0-g3","mysql-multiplexing=false-g3","mysql-query_digests=0-g3","mysql-query_digests_keep_comment=1-g3" ], "test_firewall-t" : [ "legacy-g3","mysql84-g3","mysql-auto_increment_delay_multiplex=0-g3","mysql-multiplexing=false-g3","mysql-query_digests=0-g3","mysql-query_digests_keep_comment=1-g3" ], "test_flagOUT_weight-t" : [ "legacy-g3","mysql84-g3","mysql-auto_increment_delay_multiplex=0-g3","mysql-multiplexing=false-g3","mysql-query_digests=0-g3","mysql-query_digests_keep_comment=1-g3" ], diff --git a/test/tap/tests/Makefile b/test/tap/tests/Makefile index 4fc7c839e..f9d294743 100644 --- a/test/tap/tests/Makefile +++ b/test/tap/tests/Makefile @@ -324,6 +324,12 @@ pgsql-reg_test_5273_bind_parameter_format-t: pgsql-reg_test_5273_bind_parameter_ pgsql-reg_test_5300_threshold_resultset_deadlock-t: pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp pg_lite_client.cpp $(TAP_LDIR)/libtap.so $(CXX) $< pg_lite_client.cpp $(IDIRS) $(LDIRS) $(OPT) $(MYLIBS) $(STATIC_LIBS) -o $@ +test_ffto_pgsql_pipeline-t: test_ffto_pgsql_pipeline-t.cpp pg_lite_client.cpp $(TAP_LDIR)/libtap.so + $(CXX) $< pg_lite_client.cpp $(IDIRS) $(LDIRS) $(OPT) $(MYLIBS) $(STATIC_LIBS) -o $@ + +test_ffto_pgsql_stmt_portal-t: test_ffto_pgsql_stmt_portal-t.cpp pg_lite_client.cpp $(TAP_LDIR)/libtap.so + $(CXX) $< pg_lite_client.cpp $(IDIRS) $(LDIRS) $(OPT) $(MYLIBS) $(STATIC_LIBS) -o $@ + ### clean targets