build: add test-doc to test target

This commit adds the test-doc target to the test recipe so that docs are
built and linters run. This used to happen but was removed at some
point.

PR-URL: https://github.com/nodejs/node/pull/22294
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
pull/22310/head
Daniel Bevenius 2018-08-13 08:47:45 +02:00
parent 439b75b9c0
commit 95b0e2c133
1 changed files with 1 additions and 0 deletions

View File

@ -268,6 +268,7 @@ jstest: build-addons build-addons-napi ## Runs addon tests and JS tests
test: all ## Runs default tests, linters, and builds docs.
@echo "Build the addons before running the tests so the test results"
@echo "can be displayed together"
$(MAKE) -s test-doc
$(MAKE) -s build-addons
$(MAKE) -s build-addons-napi
$(MAKE) -s cctest