Skip to content

Commit 301b683

Browse files
authored
flambda-backend: Add -no-rebuild options for test-one and promote-one (#1391)
1 parent 1e090ac commit 301b683

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile.common-jst

+6-2
Original file line numberDiff line numberDiff line change
@@ -307,15 +307,19 @@ promote-failed:
307307

308308
runtest-upstream: test
309309

310-
test-one: install_for_test
310+
test-one: install_for_test test-one-no-rebuild
311+
312+
test-one-no-rebuild:
311313
(export OCAMLSRCDIR=$$(pwd)/_runtest; \
312314
export CAML_LD_LIBRARY_PATH=$$(pwd)/_runtest/lib/ocaml/stublibs; \
313315
if $$(which gfortran > /dev/null 2>&1); then \
314316
export LIBRARY_PATH=$$(dirname $$(gfortran -print-file-name=libgfortran.a)); \
315317
fi; \
316318
cd _runtest/testsuite && make one $(if $(TEST),TEST="tests/$(TEST)") $(if $(DIR),DIR="tests/$(DIR)"))
317319

318-
promote-one: install_for_test
320+
promote-one: install_for_test promote-one-no-rebuild
321+
322+
promote-one-no-rebuild:
319323
(export OCAMLSRCDIR=$$(pwd)/_runtest; \
320324
export CAML_LD_LIBRARY_PATH=$$(pwd)/_runtest/lib/ocaml/stublibs; \
321325
if $$(which gfortran > /dev/null 2>&1); then \

0 commit comments

Comments
 (0)