diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2018-03-14 13:04:48 +0100 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-04-11 13:23:27 -0400 |
commit | 3e6ff8589442fddcd15828c272bf68c26c30d951 (patch) | |
tree | 064c5b74967251bbe4a3034c4b8fe914d4614d22 /Makefile | |
parent | 17d4368cb170041505866a97de88b13c37873428 (diff) | |
download | android-node-v8-3e6ff8589442fddcd15828c272bf68c26c30d951.tar.gz android-node-v8-3e6ff8589442fddcd15828c272bf68c26c30d951.tar.bz2 android-node-v8-3e6ff8589442fddcd15828c272bf68c26c30d951.zip |
tools: fix make test-v8
PR-URL: https://github.com/nodejs/node/pull/19201
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 35 |
1 files changed, 10 insertions, 25 deletions
@@ -20,17 +20,12 @@ ifdef JOBS PARALLEL_ARGS = -j $(JOBS) endif -ifdef QUICKCHECK - QUICKCHECK_ARG := --quickcheck -endif - ifdef ENABLE_V8_TAP TAP_V8 := --junitout $(PWD)/v8-tap.xml TAP_V8_INTL := --junitout $(PWD)/v8-intl-tap.xml TAP_V8_BENCHMARKS := --junitout $(PWD)/v8-benchmarks-tap.xml endif -V8_BUILD_OPTIONS += GYPFLAGS="-Dclang=0" V8_TEST_OPTIONS = $(V8_EXTRA_TEST_OPTIONS) ifdef DISABLE_V8_I18N V8_BUILD_OPTIONS += i18nsupport=off @@ -233,8 +228,7 @@ endif # Rebuilds deps/v8 as a git tree, pulls its third-party dependencies, and # builds it. v8: - tools/make-v8.sh - $(MAKE) -C deps/v8 $(V8_ARCH).$(BUILDTYPE_LOWER) $(V8_BUILD_OPTIONS) + tools/make-v8.sh $(V8_ARCH).$(BUILDTYPE_LOWER) $(V8_BUILD_OPTIONS) .PHONY: jstest jstest: build-addons build-addons-napi ## Runs addon tests and JS tests @@ -569,31 +563,22 @@ test-with-async-hooks: ifneq ("","$(wildcard deps/v8/tools/run-tests.py)") # Related CI job: node-test-commit-v8-linux test-v8: v8 ## Runs the V8 test suite on deps/v8. -# Performs a full test unless QUICKCHECK is specified. -# Note that we cannot run the tests in deps/v8 directly without rebuilding a -# git tree and using gclient to pull the third-party dependencies, which is -# done by the `v8` target. - deps/v8/tools/run-tests.py --arch=$(V8_ARCH) \ - --mode=$(BUILDTYPE_LOWER) $(V8_TEST_OPTIONS) $(QUICKCHECK_ARG) \ - --no-presubmit \ - --shell-dir=$(PWD)/deps/v8/out/$(V8_ARCH).$(BUILDTYPE_LOWER) \ - $(TAP_V8) - git clean -fdxq -- deps/v8 + deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) \ + --mode=$(BUILDTYPE_LOWER) $(V8_TEST_OPTIONS) \ + mjsunit cctest debugger inspector message preparser \ + $(TAP_V8) @echo Testing hash seed $(MAKE) test-hash-seed test-v8-intl: v8 -# Performs a full test unless QUICKCHECK is specified. - deps/v8/tools/run-tests.py --arch=$(V8_ARCH) \ - --mode=$(BUILDTYPE_LOWER) --no-presubmit $(QUICKCHECK_ARG) \ - --shell-dir=deps/v8/out/$(V8_ARCH).$(BUILDTYPE_LOWER) intl \ + deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) \ + --mode=$(BUILDTYPE_LOWER) intl \ $(TAP_V8_INTL) test-v8-benchmarks: v8 - deps/v8/tools/run-tests.py --arch=$(V8_ARCH) --mode=$(BUILDTYPE_LOWER) \ - --download-data $(QUICKCHECK_ARG) --no-presubmit \ - --shell-dir=deps/v8/out/$(V8_ARCH).$(BUILDTYPE_LOWER) benchmarks \ - $(TAP_V8_BENCHMARKS) + deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) --mode=$(BUILDTYPE_LOWER) \ + benchmarks \ + $(TAP_V8_BENCHMARKS) test-v8-all: test-v8 test-v8-intl test-v8-benchmarks # runs all v8 tests |