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:
1 parent
ca899ccfd3
commit
0ed9f520da
1 file changed
+2
-1
+2
-1
@@ -245,7 +245,8 @@ ALL_LOCAL_RULES += tests/libreaddir-rand.so
|
|||||||
CLEANFILES += tests/libreaddir-rand.so tests/ostree-symlink-stamp tests/ostree
|
CLEANFILES += tests/libreaddir-rand.so tests/ostree-symlink-stamp tests/ostree
|
||||||
|
|
||||||
tests/ostree-symlink-stamp: Makefile
|
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; \
|
ln -sf "$${real_bin}" tests/ostree; \
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user