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