mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
test: print path to build directory on misconfiguration
This way it's easier to see when a wrong $BUILD_DIR was passed.
This commit is contained in:
parent
ead7af3093
commit
20f938ff7f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue