From: Simon McVittie Date: Sun, 26 Jun 2016 12:57:13 +0000 (+0100) Subject: tests: fail the build if symlinking tests/ostree fails X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~407^2^2~20 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0ed9f520daca0dbb58bd278e709aff4b298e238f;p=ostree.git tests: fail the build if symlinking tests/ostree fails Signed-off-by: Simon McVittie Closes: #367 Approved by: cgwalters --- diff --git a/Makefile-tests.am b/Makefile-tests.am index 25b8202f..9be9061b 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -245,7 +245,8 @@ ALL_LOCAL_RULES += tests/libreaddir-rand.so CLEANFILES += tests/libreaddir-rand.so tests/ostree-symlink-stamp tests/ostree tests/ostree-symlink-stamp: Makefile - @real_bin=`cd $(top_builddir) && ./libtool --mode=execute echo ostree`; \ + @set -e; \ + real_bin=`cd $(top_builddir) && ./libtool --mode=execute echo ostree`; \ ln -sf "$${real_bin}" tests/ostree; \ touch $@