Allow to specify V8 version, for example:

V8_VERSION=0x031511 ENGINE=v8 make check-javascript-test-suite
This commit is contained in:
Richard 2014-08-11 12:28:09 -05:00
commit b0afc7a9a5

View file

@ -19,8 +19,16 @@ else
JSENGINE=node
endif
ifneq (, $(V8_VERSION))
JSV8_VERSION=$(V8_VERSION)
else
JSV8_VERSION=0x031110
endif
include $(srcdir)/../common.mk
SWIGOPT += -DV8_VERSION=$(JSV8_VERSION)
_setup = \
if [ -f $(SCRIPTDIR)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
echo "$(ACTION)ing $(LANGUAGE) ($(JSENGINE)) testcase $* (with run test)" ; \