Commit ffa1e1f 1 parent 100dd19 commit ffa1e1f Copy full SHA for ffa1e1f
File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ PYTHON ?= python
5
5
NINJA ?= ninja
6
6
DESTDIR ?=
7
7
SIGN ?=
8
+ FLAKY_TESTS ?= run
8
9
9
10
NODE ?= ./node
10
11
@@ -102,7 +103,7 @@ test-all-valgrind: all
102
103
$(PYTHON ) tools/test.py --mode=debug,release --valgrind
103
104
104
105
test-ci :
105
- $(PYTHON ) tools/test.py -p tap --logfile test.tap --mode=release --arch=$(DESTCPU ) simple message internet
106
+ $(PYTHON ) tools/test.py -p tap --logfile test.tap --mode=release --arch=$(DESTCPU ) --flaky-tests= $( FLAKY_TESTS ) simple message internet
106
107
107
108
test-release : all
108
109
$(PYTHON ) tools/test.py --mode=release
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ set noetw_msi_arg=
35
35
set noperfctr =
36
36
set noperfctr_arg =
37
37
set noperfctr_msi_arg =
38
+ set flaky_tests_arg =
38
39
39
40
:next-arg
40
41
if " %1 " == " " goto args-done
@@ -64,6 +65,7 @@ if /i "%1"=="msi" set msi=1&set licensertf=1&goto arg-ok
64
65
if /i " %1 " == " upload" set upload = 1& goto arg-ok
65
66
if /i " %1 " == " jslint" set jslint = 1& goto arg-ok
66
67
if /i " %1 " == " build-release" set nosnapshot = 1& set config=Release& set msi=1& set licensertf=1& goto arg-ok
68
+ if /i " %1 " == " ignore-flaky" set flaky_tests_arg = --flaky-tests=dontcare& goto arg-ok
67
69
68
70
echo Warning: ignoring invalid command line option `%1 `.
69
71
@@ -174,7 +176,7 @@ if "%config%"=="Release" set test_args=--mode=release
174
176
set test_args = %test_args% --arch=%target_arch%
175
177
176
178
if " %test% " == " test" set test_args = %test_args% simple message
177
- if " %test% " == " test-ci" set test_args = %test_args% -p tap --logfile test.tap simple message internet
179
+ if " %test% " == " test-ci" set test_args = %test_args% -p tap --logfile test.tap %flaky_tests_arg% simple message internet
178
180
if " %test% " == " test-internet" set test_args = %test_args% internet
179
181
if " %test% " == " test-pummel" set test_args = %test_args% pummel
180
182
if " %test% " == " test-simple" set test_args = %test_args% simple
You can’t perform that action at this time.
0 commit comments