Skip to content

Commit 9da9b19

Browse files
committed
Makefile: Add test-analysis and test-tools
1 parent 7d5e025 commit 9da9b19

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Makefile

+8-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ node_modules/.bin/semver:
3232
test: lib
3333
node scripts/test.js -all
3434

35+
test-analysis:
36+
make -C tests/analysis_tests clean test
37+
38+
test-tools:
39+
make -C tests/tools_tests clean test
40+
3541
test-syntax:
3642
bash ./scripts/test_syntax.sh
3743
make reanalyze
@@ -45,7 +51,7 @@ test-syntax-roundtrip:
4551
test-gentype:
4652
make -C tests/gentype_tests/typescript-react-example clean test
4753

48-
test-all: test test-gentype
54+
test-all: test test-gentype test-analysis test-tools
4955

5056
reanalyze:
5157
reanalyze.exe -set-exit-code -all-cmt _build/default/compiler _build/default/tests -exclude-paths compiler/outcome_printer,compiler/ml,compiler/js_parser,compiler/frontend,compiler/ext,compiler/depends,compiler/core,compiler/common,compiler/cmij,compiler/bsb_helper,compiler/bsb
@@ -95,4 +101,4 @@ dev-container:
95101

96102
.DEFAULT_GOAL := build
97103

98-
.PHONY: build watch rewatch ninja bench dce test test-syntax test-syntax-roundtrip test-gentype test-all lib playground playground-cmijs playground-release artifacts format checkformat clean-gentype clean-rewatch clean clean-all dev-container
104+
.PHONY: build watch rewatch ninja bench dce test test-syntax test-syntax-roundtrip test-gentype test-analysis test-tools test-all lib playground playground-cmijs playground-release artifacts format checkformat clean-gentype clean-rewatch clean clean-all dev-container

0 commit comments

Comments
 (0)