aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-11-10 14:24:34 +0100
committerGaëtan Gilbert2020-11-10 14:25:39 +0100
commit400f852347be1b038369878df997bf537ff1f3d0 (patch)
tree4a1818a64cdcae011459988a8fbb65b72e437ade /test-suite
parentd2047c6368ae11a3a3fd7f2db8c991d135094e60 (diff)
Fix running unit tests with dune compiled coq
(for runs outside dune, ie "make -C test-suite unit-tests" rather than "dune build @runtest") Fix #13333
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-suite/Makefile b/test-suite/Makefile
index 6c373701cf..279f32c903 100644
--- a/test-suite/Makefile
+++ b/test-suite/Makefile
@@ -36,7 +36,8 @@ include ../Makefile.common
# Note that this will later need an eval in shell to interpret the quotes
ROOT='$(shell cd ..; pwd)'
-ifneq ($(wildcard ../_build),)
+ifneq ($(wildcard ../_build/default/config/Makefile),)
+include ../_build/default/config/Makefile
BIN:=$(ROOT)/_build/install/default/bin/
# COQLIB is an env variable so no quotes
COQLIB:=$(shell cd ..; pwd)/_build/install/default/lib/coq