@@ -20,17 +20,12 @@ ifdef JOBS
20
20
PARALLEL_ARGS = -j $(JOBS )
21
21
endif
22
22
23
- ifdef QUICKCHECK
24
- QUICKCHECK_ARG := --quickcheck
25
- endif
26
-
27
23
ifdef ENABLE_V8_TAP
28
24
TAP_V8 := --junitout $(PWD ) /v8-tap.xml
29
25
TAP_V8_INTL := --junitout $(PWD ) /v8-intl-tap.xml
30
26
TAP_V8_BENCHMARKS := --junitout $(PWD ) /v8-benchmarks-tap.xml
31
27
endif
32
28
33
- V8_BUILD_OPTIONS += GYPFLAGS="-Dclang=0"
34
29
V8_TEST_OPTIONS = $(V8_EXTRA_TEST_OPTIONS )
35
30
ifdef DISABLE_V8_I18N
36
31
V8_BUILD_OPTIONS += i18nsupport=off
@@ -233,8 +228,7 @@ endif
233
228
# Rebuilds deps/v8 as a git tree, pulls its third-party dependencies, and
234
229
# builds it.
235
230
v8 :
236
- tools/make-v8.sh
237
- $(MAKE ) -C deps/v8 $(V8_ARCH ) .$(BUILDTYPE_LOWER ) $(V8_BUILD_OPTIONS )
231
+ tools/make-v8.sh $(V8_ARCH ) .$(BUILDTYPE_LOWER ) $(V8_BUILD_OPTIONS )
238
232
239
233
.PHONY : jstest
240
234
jstest : build-addons build-addons-napi # # Runs addon tests and JS tests
@@ -569,31 +563,22 @@ test-with-async-hooks:
569
563
ifneq ("","$(wildcard deps/v8/tools/run-tests.py) ")
570
564
# Related CI job: node-test-commit-v8-linux
571
565
test-v8 : v8 # # Runs the V8 test suite on deps/v8.
572
- # Performs a full test unless QUICKCHECK is specified.
573
- # Note that we cannot run the tests in deps/v8 directly without rebuilding a
574
- # git tree and using gclient to pull the third-party dependencies, which is
575
- # done by the `v8` target.
576
- deps/v8/tools/run-tests.py --arch=$(V8_ARCH) \
577
- --mode =$(BUILDTYPE_LOWER ) $(V8_TEST_OPTIONS ) $(QUICKCHECK_ARG ) \
578
- --no-presubmit \
579
- --shell-dir=$(PWD ) /deps/v8/out/$(V8_ARCH ) .$(BUILDTYPE_LOWER ) \
580
- $(TAP_V8 )
581
- git clean -fdxq -- deps/v8
566
+ deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH ) \
567
+ --mode =$(BUILDTYPE_LOWER ) $(V8_TEST_OPTIONS ) \
568
+ mjsunit cctest debugger inspector message preparser \
569
+ $(TAP_V8 )
582
570
@echo Testing hash seed
583
571
$(MAKE) test-hash-seed
584
572
585
573
test-v8-intl : v8
586
- # Performs a full test unless QUICKCHECK is specified.
587
- deps/v8/tools/run-tests.py --arch=$(V8_ARCH) \
588
- --mode =$(BUILDTYPE_LOWER ) --no-presubmit $(QUICKCHECK_ARG ) \
589
- --shell-dir=deps/v8/out/$(V8_ARCH ) .$(BUILDTYPE_LOWER ) intl \
574
+ deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH ) \
575
+ --mode =$(BUILDTYPE_LOWER ) intl \
590
576
$(TAP_V8_INTL )
591
577
592
578
test-v8-benchmarks : v8
593
- deps/v8/tools/run-tests.py --arch=$(V8_ARCH ) --mode=$(BUILDTYPE_LOWER ) \
594
- --download-data $(QUICKCHECK_ARG) --no-presubmit \
595
- --shell-dir =deps/v8/out/$(V8_ARCH ) .$(BUILDTYPE_LOWER ) benchmarks \
596
- $(TAP_V8_BENCHMARKS )
579
+ deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH ) --mode=$(BUILDTYPE_LOWER ) \
580
+ benchmarks \
581
+ $(TAP_V8_BENCHMARKS)
597
582
598
583
test-v8-all : test-v8 test-v8-intl test-v8-benchmarks
599
584
# runs all v8 tests
0 commit comments