Only try to build javascript interpreter on check

This commit is contained in:
Olly Betts 2024-09-21 12:31:31 +12:00
parent eb98811852
commit 23f7322256
1 changed files with 2 additions and 0 deletions

View File

@ -204,9 +204,11 @@ tcl_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/tcl/check.list)
# busy" error). We can avoid this by ensuring we have built the custom # busy" error). We can avoid this by ensuring we have built the custom
# interpreter before running the tests. # interpreter before running the tests.
ifeq ($(ENGINE), $(filter $(ENGINE), jsc v8)) ifeq ($(ENGINE), $(filter $(ENGINE), jsc v8))
ifeq ($(ACTION), check)
check-javascript-prepare: check-javascript-prepare:
@$(MAKE) $(FLAGS) -C Tools/javascript javascript @$(MAKE) $(FLAGS) -C Tools/javascript javascript
endif endif
endif
check-%-prepare: check-%-prepare:
@: @: