Browse Source

test: allow options for v8 testing

Allow extra options when testing v8 in Node tree

PR-URL: https://github.com/nodejs/node/pull/5502
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v5.x
Michael Dawson 9 years ago
committed by Jeremiah Senkpiel
parent
commit
c4d9cdb7d0
  1. 5
      Makefile

5
Makefile

@ -21,8 +21,9 @@ ifdef ENABLE_V8_TAP
TAP_V8_BENCHMARKS := --junitout v8-benchmarks-tap.xml TAP_V8_BENCHMARKS := --junitout v8-benchmarks-tap.xml
endif endif
V8_TEST_OPTIONS = $(V8_EXTRA_TEST_OPTIONS)
ifdef DISABLE_V8_I18N ifdef DISABLE_V8_I18N
V8_TEST_NO_I18N := --noi18n V8_TEST_OPTIONS += --noi18n
V8_BUILD_OPTIONS += i18nsupport=off V8_BUILD_OPTIONS += i18nsupport=off
endif endif
@ -210,7 +211,7 @@ test-timers-clean:
test-v8: test-v8:
# note: performs full test unless QUICKCHECK is specified # note: performs full test unless QUICKCHECK is specified
deps/v8/tools/run-tests.py --arch=$(V8_ARCH) \ deps/v8/tools/run-tests.py --arch=$(V8_ARCH) \
--mode=$(BUILDTYPE_LOWER) $(V8_TEST_NO_I18N) $(QUICKCHECK_ARG) \ --mode=$(BUILDTYPE_LOWER) $(V8_TEST_OPTIONS) $(QUICKCHECK_ARG) \
--no-presubmit \ --no-presubmit \
--shell-dir=$(PWD)/deps/v8/out/$(V8_ARCH).$(BUILDTYPE_LOWER) \ --shell-dir=$(PWD)/deps/v8/out/$(V8_ARCH).$(BUILDTYPE_LOWER) \
$(TAP_V8) $(TAP_V8)

Loading…
Cancel
Save