Provide error hint if TAP tests are not enabled
authorDaniel Gustafsson <[email protected]>
Mon, 4 Oct 2021 09:46:29 +0000 (11:46 +0200)
committerDaniel Gustafsson <[email protected]>
Mon, 4 Oct 2021 09:46:29 +0000 (11:46 +0200)
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 <[email protected]>
Discussion: https://postgr.es/m/CAKcy5ejKVYwUXguQcd6i9KHDm7cM7FzjQ+aayaPveoa_woyQpQ@mail.gmail.com

src/Makefile.global.in

index e4fd7b529068bc113572618dc8f252aae5b8ed12..a1da1ea4eeb82dccca7ab4fe500186da534a17a1 100644 (file)
@@ -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