Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions base.mk
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ ifdef PGXNTOOL_ENABLE_TEST_INSTALL
# override needed so command-line values (make VAR=YES) are normalized, not silently ignored.
# := needed for immediate evaluation of the function call (avoids infinite recursion with =).
override PGXNTOOL_ENABLE_TEST_INSTALL := $(call pgxntool_validate_yesno,$(PGXNTOOL_ENABLE_TEST_INSTALL),PGXNTOOL_ENABLE_TEST_INSTALL)
ifeq ($(PGXNTOOL_ENABLE_TEST_INSTALL)$(strip $(TEST_INSTALL_SQL_FILES)),yes)
$(error no .sql files found in $(TESTDIR)/install/ (PGXNTOOL_ENABLE_TEST_INSTALL=yes))
endif
else
Comment thread
jnasbyupgrade marked this conversation as resolved.
# Auto-detect: enable if test/install/ directory has SQL files
ifneq ($(strip $(TEST_INSTALL_SQL_FILES)),)
Expand Down
Loading