Skip to content

Commit bbff9b5

Browse files
committed
fixup! build: convert V8 test JSON to JUnit XML
1 parent 1673df7 commit bbff9b5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ ifdef ENABLE_CONVERT_V8_JSON_TO_XML
4343
TAP_V8_INTL_JSON := $(PWD)/v8-intl-tap.json
4444
TAP_V8_BENCHMARKS_JSON := $(PWD)/v8-benchmarks-tap.json
4545

46+
# By default, the V8's JSON test output only includes the tests which have
47+
# failed. We use --slow-tests-cutoff to ensure that all tests are present
48+
# in the output, including those which pass.
4649
TAP_V8 := --json-test-results $(TAP_V8_JSON) --slow-tests-cutoff 1000000
4750
TAP_V8_INTL := --json-test-results $(TAP_V8_INTL_JSON) --slow-tests-cutoff 1000000
4851
TAP_V8_BENCHMARKS := --json-test-results $(TAP_V8_BENCHMARKS_JSON) --slow-tests-cutoff 1000000

tools/v8-json-to-junit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env python
2+
# Large parts of this file are modified from
3+
# deps/v8/tools/testrunner/local/junit_output.py, which no longer exists in
4+
# latest V8.
25
#
36
# Copyright 2013 the V8 project authors. All rights reserved.
47
# Redistribution and use in source and binary forms, with or without

0 commit comments

Comments
 (0)