From b0afc7a9a590fbe3e3ffe7ac06ea30f74aaa267f Mon Sep 17 00:00:00 2001 From: Richard Date: Mon, 11 Aug 2014 12:28:09 -0500 Subject: [PATCH] Allow to specify V8 version, for example: V8_VERSION=0x031511 ENGINE=v8 make check-javascript-test-suite --- Examples/test-suite/javascript/Makefile.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Examples/test-suite/javascript/Makefile.in b/Examples/test-suite/javascript/Makefile.in index b6e946de2b4..b0fd82c251e 100644 --- a/Examples/test-suite/javascript/Makefile.in +++ b/Examples/test-suite/javascript/Makefile.in @@ -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)" ; \