Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v22.8.0 proposal #54560

Merged
merged 90 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
83b5efe
doc: reserve ABI 130 for Electron 33
clavin Aug 19, 2024
2541991
doc: add esm examples to node:https
mfdebian Aug 19, 2024
6ccbd32
doc, meta: add missing `,` to `BUILDING.md`
RedYetiDev Aug 19, 2024
c4996c1
meta: run coverage-windows when `vcbuild.bat` updated
RedYetiDev Aug 19, 2024
909c532
src: move more crypto code to ncrypto
jasnell Aug 11, 2024
cbe30a0
test_runner: finish build phase before running tests
cjihrig Aug 20, 2024
3a74c40
src: improve `buffer.transcode` performance
anonrig Aug 20, 2024
1c29e74
test_runner: make `mock.module`'s `specifier` consistent with `import()`
aduh95 Aug 20, 2024
336496b
module: add sourceURL magic comment hinting generated source
legendecas Aug 20, 2024
45b0250
test_runner: account for newline in source maps
cjihrig Aug 21, 2024
858b583
test_runner: defer inheriting hooks until run()
cjihrig Jul 19, 2024
97fa075
test_runner: support running tests in process
cjihrig Jul 13, 2024
3caf29e
deps: update sqlite to 3.46.1
nodejs-github-bot Aug 18, 2024
a5ce241
deps: sqlite: fix Windows compilation
cjihrig Jun 12, 2024
0cf78aa
test_runner: refactor `mock_loader`
aduh95 Aug 21, 2024
b0ed8db
test: prevent V8 from writing into the system's tmpdir
targos Aug 21, 2024
da6c61d
tools: add swc license
marco-ippolito Aug 22, 2024
9c70920
deps: update undici to 6.19.8
nodejs-github-bot Aug 22, 2024
0d7171d
meta: add more labels to dep-updaters
RedYetiDev Aug 22, 2024
61affd7
doc: fix capitalization in module.md
shallow-beach Aug 23, 2024
b584356
deps: update amaro to 0.1.7
nodejs-github-bot Aug 23, 2024
fffc300
stream: change stream to use index instead of `for...of`
HBSPS Aug 23, 2024
1e01bdc
net: exclude ipv6 loopback addresses from server.listen
puskin94 Aug 23, 2024
eef3030
src: remove cached data tag from snapshot metadata
joyeecheung Aug 23, 2024
b5a23c9
meta: remind users to use a supported version in bug reports
RedYetiDev Aug 23, 2024
d4310fe
test_runner: add support for coverage thresholds
RedYetiDev Aug 23, 2024
71fdf96
build: update required python version to 3.8
RedYetiDev Aug 23, 2024
8a4f8a9
test: add tests for runner coverage with different stdout column widths
pmarchini Aug 24, 2024
467ac3a
build: don't clean obj.target directory if it doesn't exist
joyeecheung Aug 24, 2024
fc08a9b
fs: refactor handleTimestampsAndMode to remove redundant call
rayark1 Aug 24, 2024
16d4c43
typings: provide internal types for wasi bindings
RulerOfCakes Aug 24, 2024
1800a58
doc: update websocket flag description to reflect stable API status
debbs061 Aug 24, 2024
02d664b
test: fix improper path to URL conversion
aduh95 Aug 24, 2024
8a4b26f
timers: fix validation
ShogunPanda Aug 25, 2024
290f6ce
deps: update amaro to 0.1.8
nodejs-github-bot Aug 25, 2024
72c554a
sqlite: return results with null prototype
targos Aug 25, 2024
94985df
benchmark: fix benchmark for file path and URL conversion
EarlyRiser42 Aug 25, 2024
66ae9f4
test: use valid hostnames
lpinca Aug 25, 2024
7d9e994
src: change SetEncodedValue to return Maybe<void>
tniessen Aug 26, 2024
b5eb24c
test: force spec reporter in test-runner-watch-mode.mjs
cjihrig Aug 26, 2024
4578e94
src: use better return types in KVStore
targos Aug 24, 2024
4938188
src: return `v8::Object` from error constructors
targos Aug 24, 2024
1ff3f63
src: handle errors correctly in `permission.cc`
targos Aug 24, 2024
3879814
tools: remove unused python files
RedYetiDev Aug 26, 2024
846e2b2
test: refactor test_runner tests to change default reporter
cjihrig Aug 27, 2024
fe56949
deps: update c-ares to v1.33.1
nodejs-github-bot Aug 27, 2024
afd8c1e
buffer: allow invalid encoding in from
ronag Aug 27, 2024
e6e1f4e
src: remove redundant AESCipherMode
tniessen Aug 27, 2024
ac178b0
buffer: truncate instead of throw when writing beyond buffer
ronag Aug 27, 2024
3cd10a3
node-api: remove RefBase and CallbackWrapper
vmoroz Aug 27, 2024
101e299
src: move more crypto_dh.cc code to ncrypto
jasnell Aug 19, 2024
3cf6457
module: use amaro default transform values
marco-ippolito Aug 23, 2024
8ffdd1e
zlib: simplify validators
anonrig Aug 27, 2024
fc57bea
doc: add note about shasum generation failure
marco-ippolito Aug 27, 2024
a9ce2b6
lib: fix emit warning for debuglog.time when disabled
H4ad Aug 27, 2024
c3dc83b
doc: support collaborators - talk amplification
mhdawson Aug 22, 2024
33a6b3c
deps: backport ICU-22787 to fix ClangCL on Windows
StefanStojanovic Aug 27, 2024
c499913
doc: fix information about including coverage files
RedYetiDev Aug 27, 2024
72345de
test: fix embedding test for Windows
vmoroz Aug 27, 2024
7fd033f
doc: run license-builder
github-actions[bot] Aug 28, 2024
04f83b5
Revert "net: validate host name for server listen"
jakecastelli Aug 25, 2024
4a664b5
lib: respect terminal capabilities on styleText
RafaelGSS Aug 28, 2024
4baf463
src: add JS APIs for compile cache and NODE_DISABLE_COMPILE_CACHE
joyeecheung Aug 28, 2024
64442fc
test: refactor test-abortcontroller to use node:test
jasnell Aug 26, 2024
dbbc790
test: update test-aborted-util to use node:test
jasnell Aug 26, 2024
c10aff6
test: move a couple of tests over to using node:test
jasnell Aug 27, 2024
b00c087
deps: V8: cherry-pick e74d0f437fcd
joyeecheung Aug 19, 2024
f8cbbc6
src: use v8::Isolate::GetDefaultLocale() to compute navigator.language
joyeecheung Aug 9, 2024
80e5150
doc: fix module compile cache description
ShenHongFei Aug 29, 2024
825d933
doc: add getHeapStatistics() property descriptions
bcmarinacci Aug 29, 2024
e071651
src: disable fast methods for `buffer.write`
targos Aug 29, 2024
a0be95e
test: merge ongc and gcutil into gc.js
tannal Aug 13, 2024
a4bebf8
test_runner: ensure test watcher picks up new test files
pmarchini Aug 29, 2024
db80eac
vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY
joyeecheung Aug 29, 2024
73604cf
deps: update nghttp2 to 1.63.0
nodejs-github-bot Aug 29, 2024
5ee234a
test,crypto: update WebCryptoAPI WPT
panva Aug 29, 2024
c74f2ae
test: update test-assert to use node:test
jasnell Aug 27, 2024
9f1ce73
test: update test-assert-typedarray-deepequal to use node:test
jasnell Aug 27, 2024
bf82448
doc: fix typo in styleText description
RafaelGSS Aug 29, 2024
bc976cf
test: update test-abortsignal-cloneable to use node:test
jasnell Aug 27, 2024
edbecf5
test: increase key size for ca2-cert.pem
mhdawson Aug 29, 2024
522d5a3
test: run V8 Fast API tests in release mode too
targos Aug 30, 2024
fe5666f
vm: return all own names and symbols in property enumerator interceptor
legendecas Aug 30, 2024
9ba75fa
src,lib: add performance.uvMetricsInfo
RafaelGSS Aug 30, 2024
f5c5529
doc: add alert on REPL from TCP socket
RafaelGSS Aug 30, 2024
68758d4
doc: add support me link for anonrig
anonrig Aug 30, 2024
76345a5
test: update TLS test for OpenSSL 3.2
richardlau Aug 30, 2024
a4a6ef8
test: fix test-tls-client-auth test for OpenSSL32
mhdawson Aug 28, 2024
6f0cf35
build: reclaim disk space on macOS GHA runner
jakecastelli Aug 30, 2024
78ee90e
2024-09-03, Version 22.8.0 (Current)
RafaelGSS Aug 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ body:
- type: input
attributes:
label: Version
description: Output of `node -v`
description: |
Output of `node -v`.
Please verify that you are reproducing the issue in a [currently-supported version](https://github.com/nodejs/Release/blob/HEAD/README.md#release-schedule) of Node.js.
- type: textarea
attributes:
label: Platform
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- lib/**/*.js
- Makefile
- vcbuild.bat
- src/**/*.cc
- src/**/*.h
- test/**
Expand All @@ -18,7 +18,7 @@ on:
- main
paths:
- lib/**/*.js
- Makefile
- vcbuild.bat
- src/**/*.cc
- src/**/*.h
- test/**
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,20 @@ jobs:
# information.)
- name: tools/doc/node_modules workaround
run: make tools/doc/node_modules
# This is needed due to https://github.com/nodejs/build/issues/3878
- name: Cleanup
run: |
echo "::group::Free space before cleanup"
df -h
echo "::endgroup::"
echo "::group::Cleaned Files"

sudo rm -rfv /Users/runner/Library/Android/sdk

echo "::endgroup::"
echo "::group::Free space after cleanup"
df -h
echo "::endgroup::"
- name: Build
run: make build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,23 +85,23 @@ jobs:
rm temp-output
- id: amaro
subsystem: deps
label: dependencies
label: dependencies, strip-types
run: |
./tools/dep_updaters/update-amaro.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: brotli
subsystem: deps
label: dependencies
label: dependencies, zlib
run: |
./tools/dep_updaters/update-brotli.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: c-ares
subsystem: deps
label: dependencies
label: dependencies, cares
run: |
./tools/dep_updaters/update-c-ares.sh > temp-output
cat temp-output
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
rm temp-output
- id: gyp-next
subsystem: tools
label: tools
label: tools, gyp
run: |
./tools/dep_updaters/update-gyp-next.sh > temp-output
cat temp-output
Expand All @@ -179,7 +179,7 @@ jobs:
rm temp-output
- id: icu
subsystem: deps
label: dependencies, test
label: dependencies, test, icu
run: |
./tools/dep_updaters/update-icu.sh > temp-output
cat temp-output
Expand Down Expand Up @@ -293,7 +293,7 @@ jobs:
rm temp-output
- id: sqlite
subsystem: deps
label: dependencies
label: dependencies, sqlite
run: |
./tools/dep_updaters/update-sqlite.sh > temp-output
cat temp-output
Expand All @@ -317,7 +317,7 @@ jobs:
rm temp-output
- id: zlib
subsystem: deps
label: dependencies
label: dependencies, zlib
run: |
./tools/dep_updaters/update-zlib.sh > temp-output
cat temp-output
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-openssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
body: This is an automated update of OpenSSL to ${{ env.NEW_VERSION }}.
branch: actions/tools-update-openssl # Custom branch *just* for this Action.
commit-message: 'deps: upgrade openssl sources to quictls/openssl-${{ env.NEW_VERSION }}'
labels: dependencies
labels: dependencies, openssl
title: 'deps: update OpenSSL to ${{ env.NEW_VERSION }}'
path: deps/openssl
update-pull-request-title-and-body: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-v8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
delete-branch: true
title: 'deps: patch V8 to ${{ env.NEW_VERSION }}'
body: This is an automated patch update of V8 to ${{ env.NEW_VERSION }}.
labels: v8 engine
labels: dependencies, v8 engine
4 changes: 2 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ platforms. This is true regardless of entries in the table below.

<!--lint disable final-definition-->

[^1]: Older kernel versions may work. However official Node.js release
[^1]: Older kernel versions may work. However, official Node.js release
binaries are [built on RHEL 8 systems](#official-binary-platforms-and-toolchains)
with kernel 4.18.

Expand Down Expand Up @@ -230,7 +230,7 @@ Consult previous versions of this document for older versions of Node.js:

### Prerequisites

* Python support: the Node.js project supports Python >= 3.6 for building and testing.
* [A supported version of Python][Python versions] for building and testing.
* Memory: at least 8GB of RAM is typically required when compiling with 4 parallel jobs (e.g: `make -j4`)

### Unix and macOS
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.7.0">22.7.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.8.0">22.8.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.7.0">22.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.6.0">22.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.5.1">22.5.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V22.md#22.5.0">22.5.0</a><br/>
Expand Down
205 changes: 205 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,211 @@ The externally maintained libraries used by Node.js are:
SOFTWARE.
"""

- swc, located at deps/amaro/dist, is licensed as follows:
"""
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2024 SWC contributors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""

- ICU, located at deps/icu-small, is licensed as follows:
"""
UNICODE LICENSE V3
Expand Down
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,10 @@ coverage-clean:
$(RM) -r node_modules
$(RM) -r gcovr
$(RM) -r coverage/tmp
$(FIND) out/$(BUILDTYPE)/obj.target \( -name "*.gcda" -o -name "*.gcno" \) \
-type f -exec $(RM) {} \;
@if [ -d "out/Release/obj.target" ]; then \
$(FIND) out/$(BUILDTYPE)/obj.target \( -name "*.gcda" -o -name "*.gcno" \) \
-type f -exec $(RM) {};\
fi

.PHONY: coverage
# Build and test with code coverage reporting. HTML coverage reports will be
Expand All @@ -266,7 +268,9 @@ coverage-build-js:

.PHONY: coverage-test
coverage-test: coverage-build
$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f -exec $(RM) {} \;
@if [ -d "out/Release/obj.target" ]; then \
$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f -exec $(RM) {}; \
fi
-NODE_V8_COVERAGE=coverage/tmp \
TEST_CI_ARGS="$(TEST_CI_ARGS) --type=coverage" $(MAKE) $(COVTESTS)
$(MAKE) coverage-report-js
Expand Down
Loading
Loading