postgres.git / summary / log / commit / refs
commit b5cb4db91327c2cef66207bde9cbcb592b91f93c
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: Mon Oct 04 09:46:29 2021 +0000
First released in: 15.0
Provide error hint if TAP tests are not enabled
The error message for trying to run the TAP tests in a tree not
configured with --enable-tap-tests is quite terse, and could be
made more helpful to new developers onboarding to postgres. This
adds a small hint on how to get the tests running in such cases.
Author: Kevin Burke <kevin@burke.dev>
Discussion: https://postgr.es/m/CAKcy5ejKVYwUXguQcd6i9KHDm7cM7FzjQ+aayaPveoa_woyQpQ@mail.gmail.com
src/Makefile.global.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index e4fd7b52906..a1da1ea4eeb 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -476,7 +476,7 @@ cd $(srcdir) && \
endef
else
-prove_installcheck = @echo "TAP tests not enabled"
+prove_installcheck = @echo "TAP tests not enabled. Try configuring with --enable-tap-tests"
prove_check = $(prove_installcheck)
endif
[parent: 941921b875c7]