Skip to content

Commit

Permalink
Add OCAMLSRCDIR to make ocamltest work properly for build-and-test-up…
Browse files Browse the repository at this point in the history
…stream
  • Loading branch information
mshinwell committed Nov 2, 2023
1 parent 43201c4 commit 61c5854
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ build_and_test_upstream: build_upstream
if $$(which gfortran > /dev/null 2>&1); then \
export LIBRARY_PATH=$$(dirname $$(gfortran -print-file-name=libgfortran.a)); \
fi; \
cd _build_upstream/testsuite \
export OCAMLSRCDIR=$$(pwd)/_build_upstream \
&& cd _build_upstream/testsuite \
&& if $$(which parallel > /dev/null 2>&1); \
then \
echo "Running testsuite in parallel (nproc=$$(nproc))"; \
Expand Down

0 comments on commit 61c5854

Please sign in to comment.