projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ead7af3
)
test: print path to build directory on misconfiguration
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 31 Mar 2020 13:13:13 +0000
(15:13 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 31 Mar 2020 13:13:13 +0000
(15:13 +0200)
This way it's easier to see when a wrong $BUILD_DIR was passed.
test/test-functions
patch
|
blob
|
history
diff --git
a/test/test-functions
b/test/test-functions
index ead815f2fab148e6d932eb4a9d3fd5c458ae9c65..fbdc92c96eeeb33c857b6c7b8fdf13871566f06f 100644
(file)
--- 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 "
N
eeds to be built with -Dinstall-tests=true"
+ dfatal "
$BUILD_DIR n
eeds to be built with -Dinstall-tests=true"
exit 1
fi