Allow to specify V8 version, for example:
V8_VERSION=0x031511 ENGINE=v8 make check-javascript-test-suite
This commit is contained in:
parent
19d2976962
commit
b0afc7a9a5
1 changed files with 8 additions and 0 deletions
|
|
@ -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)" ; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue