[ test ] check IDRIS2 exists & is executable (#1021)

This commit is contained in:
G. Allais 2021-02-04 16:10:57 +00:00 committed by GitHub
parent e6447e7515
commit 365e9a559c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,7 @@ testbin:
test: testbin
@echo
@echo "NOTE: \`${MAKE} test\` does not rebuild idris; to do that run \`${MAKE}\`"
@if [ ! -x "${TARGET}" ]; then echo "ERROR: Missing IDRIS2 executable. Cannot run tests!\n"; exit 1; fi
@echo
@${MAKE} -C tests only=$(only) IDRIS2=../../../${TARGET}