From: Zbigniew Jędrzejewski-Szmek Date: Tue, 31 Mar 2020 13:13:13 +0000 (+0200) Subject: test: print path to build directory on misconfiguration X-Git-Tag: v246-rc1~663^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=20f938ff7f8777ee9f4fab1dc1ac80e7ce2883e1;p=thirdparty%2Fsystemd.git test: print path to build directory on misconfiguration This way it's easier to see when a wrong $BUILD_DIR was passed. --- 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