Skip to content

Commit 4408437

Browse files
joyeecheungitaloacasas
authored andcommitted
build: add rule to clean addon tests build
Add a `test-addons-clean` to the Makefile to clean up files generated during testing addons. PR-URL: #11519 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent 7581263 commit 4408437

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

Makefile

+13-7
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,11 @@ test-npm-publish: $(NODE_EXE)
358358
test-addons: test-build
359359
$(PYTHON) tools/test.py --mode=release addons
360360

361+
test-addons-clean:
362+
$(RM) -rf test/addons/??_*/
363+
$(RM) -rf test/addons/*/build
364+
$(RM) test/addons/.buildstamp test/addons/.docbuildstamp
365+
361366
test-timers:
362367
$(MAKE) --directory=tools faketime
363368
$(PYTHON) tools/test.py --mode=release timers
@@ -857,10 +862,11 @@ endif
857862

858863
.PHONY: lint cpplint jslint bench clean docopen docclean doc dist distclean \
859864
check uninstall install install-includes install-bin all staticlib \
860-
dynamiclib test test-all test-addons build-addons website-upload pkg \
861-
blog blogclean tar binary release-only bench-http-simple bench-idle \
862-
bench-all bench bench-misc bench-array bench-buffer bench-net \
863-
bench-http bench-fs bench-tls cctest run-ci test-v8 test-v8-intl \
864-
test-v8-benchmarks test-v8-all v8 lint-ci bench-ci jslint-ci doc-only \
865-
$(TARBALL)-headers test-ci test-ci-native test-ci-js build-ci clear-stalled \
866-
coverage-clean coverage-build coverage-test coverage list-gtests
865+
dynamiclib test test-all test-addons test-addons-clean build-addons \
866+
website-upload pkg blog blogclean tar binary release-only \
867+
bench-http-simple bench-idle bench-all bench bench-misc bench-array \
868+
bench-buffer bench-net bench-http bench-fs bench-tls cctest run-ci test-v8 \
869+
test-v8-intl test-v8-benchmarks test-v8-all v8 lint-ci bench-ci jslint-ci \
870+
doc-only $(TARBALL)-headers test-ci test-ci-native test-ci-js build-ci \
871+
clear-stalled coverage-clean coverage-build coverage-test coverage \
872+
list-gtests

0 commit comments

Comments
 (0)