tests: fail the build if symlinking tests/ostree fails

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #367
Approved by: cgwalters
This commit is contained in:
Simon McVittie authored and Atomic Bot committed 2016-06-26 21:31:35 +00:00
1 parent ca899ccfd3
commit 0ed9f520da
1 file changed
+2 -1
+2 -1
View File
@@ -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 $@