Skip to content

Commit bf56b05

Browse files
committed
build: adds a rule in Makefile to test on fips
The prior commit enables running tests on fips compliant systems by specifying tests to be marked flaky if needed so. This commit extends the ability by adding a rule to the Makefile so that tests can be run on fips compliant systems using the make command. Fixes: nodejs#14746
1 parent ac9e078 commit bf56b05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,9 @@ test-v8 test-v8-intl test-v8-benchmarks test-v8-all:
505505
"$ git clone https://github.com/nodejs/node.git"
506506
endif
507507

508+
test-on-fips:
509+
$(PYTHON) tools/test.py --type=fips
510+
508511
# Google Analytics ID used for tracking API docs page views, empty
509512
# DOCS_ANALYTICS means no tracking scripts will be included in the
510513
# generated .html files

0 commit comments

Comments
 (0)