| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9aec1dd commit 8513232
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -166,9 +166,24 @@ test-all: test-build test/gc/node_modules/weak/build/Release/weakref.node | |||
| 166 | 166 | test-all-valgrind: test-build | |
| 167 | 167 | $(PYTHON) tools/test.py --mode=debug,release --valgrind | |
| 168 | 168 | ||
| 169 | + CI_NATIVE_SUITES := addons | ||
| 170 | + CI_JS_SUITES := doctool message parallel sequential | ||
| 171 | + | ||
| 172 | + # Build and test addons without building anything else | ||
| 173 | + test-ci-native: | test/addons/.buildstamp | ||
| 174 | + $(PYTHON) tools/test.py -p tap --logfile test.tap \ | ||
| 175 | + --mode=release --flaky-tests=$(FLAKY_TESTS) \ | ||
| 176 | + $(TEST_CI_ARGS) $(CI_NATIVE_SUITES) | ||
| 177 | + | ||
| 178 | + # This target should not use a native compiler at all | ||
| 179 | + test-ci-js: | ||
| 180 | + $(PYTHON) tools/test.py -p tap --logfile test.tap \ | ||
| 181 | + --mode=release --flaky-tests=$(FLAKY_TESTS) \ | ||
| 182 | + $(TEST_CI_ARGS) $(CI_JS_SUITES) | ||
| 183 | + | ||
| 169 | 184 | test-ci: | build-addons | |
| 170 | 185 | $(PYTHON) tools/test.py -p tap --logfile test.tap --mode=release --flaky-tests=$(FLAKY_TESTS) \ | |
| 171 | - $(TEST_CI_ARGS) addons doctool message parallel sequential | ||
| 186 | + $(TEST_CI_ARGS) $(CI_NATIVE_SUITES) $(CI_JS_SUITES) | ||
| 172 | 187 | ||
| 173 | 188 | test-release: test-build | |
| 174 | 189 | $(PYTHON) tools/test.py --mode=release | |
@@ -265,9 +280,11 @@ docopen: out/doc/api/all.html | |||
| 265 | 280 | docclean: | |
| 266 | 281 | -rm -rf out/doc | |
| 267 | 282 | ||
| 268 | - run-ci: | ||
| 283 | + build-ci: | ||
| 269 | 284 | $(PYTHON) ./configure $(CONFIG_FLAGS) | |
| 270 | 285 | $(MAKE) | |
| 286 | + | ||
| 287 | + run-ci: build-ci | ||
| 271 | 288 | $(MAKE) test-ci | |
| 272 | 289 | ||
| 273 | 290 | RAWVER=$(shell $(PYTHON) tools/getnodeversion.py) | |
@@ -650,4 +667,5 @@ lint-ci: lint | |||
| 650 | 667 | blog blogclean tar binary release-only bench-http-simple bench-idle \ | |
| 651 | 668 | bench-all bench bench-misc bench-array bench-buffer bench-net \ | |
| 652 | 669 | bench-http bench-fs bench-tls cctest run-ci lint-ci bench-ci \ | |
| 653 | - test-v8 test-v8-intl test-v8-benchmarks test-v8-all v8 $(TARBALL)-headers | ||
| 670 | + test-v8 test-v8-intl test-v8-benchmarks test-v8-all v8 \ | ||
| 671 | + $(TARBALL)-headers test-ci test-ci-native test-ci-js build-ci | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments