Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 032c23d

Browse filesBrowse files
richardlautargos
authored andcommitted
build: make linter failures fail test-doc target
Linter failures in the `test-doc` make target were not failing the build if the subsequent `doctools` test passed as its exit code wasn't being preserved. Make the `lint` target a dependency of `test-doc` so that it is outside of the `node_use_openssl` guard -- its own dependencies have their own guards where necessary and the targets that don't require an available node (e.g. the C++ linters) will be allowed to run. PR-URL: #30012 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent abfac96 commit 032c23d
Copy full SHA for 032c23d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,11 +592,10 @@ test-hash-seed: all
592592
$(NODE) test/pummel/test-hash-seed.js
593593

594594
.PHONY: test-doc
595-
test-doc: doc-only ## Builds, lints, and verifies the docs.
595+
test-doc: doc-only lint ## Builds, lints, and verifies the docs.
596596
@if [ "$(shell $(node_use_openssl))" != "true" ]; then \
597597
echo "Skipping test-doc (no crypto)"; \
598598
else \
599-
$(MAKE) lint; \
600599
$(PYTHON) tools/test.py $(PARALLEL_ARGS) doctool; \
601600
fi
602601

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.