Skip to content

Commit f57198e

Browse files
jbergstroemTrott
authored andcommitted
test: enable parallel testing in test-ci
Run tests in parallel by default in continuous integration.
1 parent 78fd435 commit f57198e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ test-all-valgrind: test-build
144144
$(PYTHON) tools/test.py --mode=debug,release --valgrind
145145

146146
test-ci: | build-addons
147-
$(PYTHON) tools/test.py -p tap --logfile test.tap --mode=release --flaky-tests=$(FLAKY_TESTS) \
148-
$(TEST_CI_ARGS) addons message parallel sequential
147+
$(PYTHON) tools/test.py -p tap --logfile test.tap -J --mode=release \
148+
--flaky-tests=$(FLAKY_TESTS) $(TEST_CI_ARGS) \
149+
addons message parallel sequential
149150

150151
test-release: test-build
151152
$(PYTHON) tools/test.py --mode=release

vcbuild.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if /i "%1"=="noetw" set noetw=1&goto arg-ok
5252
if /i "%1"=="noperfctr" set noperfctr=1&goto arg-ok
5353
if /i "%1"=="licensertf" set licensertf=1&goto arg-ok
5454
if /i "%1"=="test" set test_args=%test_args% sequential parallel message -J&set jslint=1&goto arg-ok
55-
if /i "%1"=="test-ci" set test_args=%test_args% %test_ci_args% -p tap --logfile test.tap message sequential parallel&goto arg-ok
55+
if /i "%1"=="test-ci" set test_args=%test_args% %test_ci_args% -p tap -J --logfile test.tap message sequential parallel&goto arg-ok
5656
if /i "%1"=="test-simple" set test_args=%test_args% sequential parallel -J&goto arg-ok
5757
if /i "%1"=="test-message" set test_args=%test_args% message&goto arg-ok
5858
if /i "%1"=="test-gc" set test_args=%test_args% gc&set buildnodeweak=1&goto arg-ok

0 commit comments

Comments
 (0)