Skip to content

Commit 94e8849

Browse files
orangemocharvagg
authored andcommitted
test: pass args to test-ci via env variable
PR-URL: #2424 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: João Reis <reis@janeasystems.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent 09987c7 commit 94e8849

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ DESTDIR ?=
66
SIGN ?=
77
PREFIX ?= /usr/local
88
FLAKY_TESTS ?= run
9+
TEST_CI_ARGS ?=
910
STAGINGSERVER ?= iojs-www
1011

1112
OSTYPE := $(shell uname -s | tr '[A-Z]' '[a-z]')
@@ -142,7 +143,7 @@ test-all-valgrind: test-build
142143

143144
test-ci: | build-addons
144145
$(PYTHON) tools/test.py -p tap --logfile test.tap --mode=release --flaky-tests=$(FLAKY_TESTS) \
145-
addons message parallel sequential
146+
$(TEST_CI_ARGS) addons message parallel sequential
146147

147148
test-release: test-build
148149
$(PYTHON) tools/test.py --mode=release

vcbuild.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if /i "%1"=="noetw" set noetw=1&goto arg-ok
5454
if /i "%1"=="noperfctr" set noperfctr=1&goto arg-ok
5555
if /i "%1"=="licensertf" set licensertf=1&goto arg-ok
5656
if /i "%1"=="test" set test_args=%test_args% sequential parallel message -J&set jslint=1&goto arg-ok
57-
if /i "%1"=="test-ci" set test_args=%test_args% -p tap --logfile test.tap message sequential parallel&goto arg-ok
57+
if /i "%1"=="test-ci" set test_args=%test_args% %test_ci_args% -p tap --logfile test.tap message sequential parallel&goto arg-ok
5858
if /i "%1"=="test-simple" set test_args=%test_args% sequential parallel -J&goto arg-ok
5959
if /i "%1"=="test-message" set test_args=%test_args% message&goto arg-ok
6060
if /i "%1"=="test-gc" set test_args=%test_args% gc&set buildnodeweak=1&goto arg-ok

0 commit comments

Comments
 (0)