File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -290,13 +290,23 @@ test-ci-js: | clear-stalled
290
290
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) -p tap --logfile test.tap \
291
291
--mode=release --flaky-tests=$(FLAKY_TESTS ) \
292
292
$(TEST_CI_ARGS ) $(CI_JS_SUITES )
293
+ # Clean up any leftover processes
294
+ PS_OUT=` ps awwx | grep Release/node | grep -v grep | awk ' {print $$1}' ` ; \
295
+ if [ " $$ {PS_OUT}" ]; then \
296
+ echo $$ {PS_OUT} | $(XARGS ) kill ; exit 1; \
297
+ fi
293
298
294
299
test-ci : LOGLEVEL := info
295
300
test-ci : | clear-stalled build-addons
296
301
out/Release/cctest --gtest_output=tap:cctest.tap
297
302
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) -p tap --logfile test.tap \
298
303
--mode=release --flaky-tests=$(FLAKY_TESTS ) \
299
304
$(TEST_CI_ARGS ) $(CI_NATIVE_SUITES ) $(CI_JS_SUITES )
305
+ # Clean up any leftover processes
306
+ PS_OUT=` ps awwx | grep Release/node | grep -v grep | awk ' {print $$1}' ` ; \
307
+ if [ " $$ {PS_OUT}" ]; then \
308
+ echo $$ {PS_OUT} | $(XARGS ) kill ; exit 1; \
309
+ fi
300
310
301
311
test-release : test-build
302
312
$(PYTHON ) tools/test.py --mode=release
You can’t perform that action at this time.
0 commit comments