From 20f938ff7f8777ee9f4fab1dc1ac80e7ce2883e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 31 Mar 2020 15:13:13 +0200 Subject: [PATCH] test: print path to build directory on misconfiguration This way it's easier to see when a wrong $BUILD_DIR was passed. --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index ead815f2fab..fbdc92c96ee 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1964,7 +1964,7 @@ test_setup() { if [ ${TEST_REQUIRE_INSTALL_TESTS} -ne 0 ] && \ type -P meson >/dev/null && \ [[ "$(meson configure $BUILD_DIR | grep install-tests | awk '{ print $2 }')" != "true" ]]; then - dfatal "Needs to be built with -Dinstall-tests=true" + dfatal "$BUILD_DIR needs to be built with -Dinstall-tests=true" exit 1 fi -- 2.47.3