aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-03 12:48:02 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-03 12:48:02 +0000
commit2482d1f9e6b770bc5f65ffde97df36066095ff2e (patch)
tree3bf4ceb2349c0a0e8f069b79f5700da2f476e509 /Makefile.in
parentf4a1235abe83f8b52ac3048719fac6426469cb42 (diff)
downloadruby-2482d1f9e6b770bc5f65ffde97df36066095ff2e.tar.gz
Partially allow failures in test-bundled-gems
Tests of minitest randomly fails with strange errors: https://dev.azure.com/rubylang/ruby/_build/results?buildId=303 https://dev.azure.com/rubylang/ruby/_build/results?buildId=314 Instead of marking `continueOnError` for all, let me select failure-allowed gems individually. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index b67459824d..7a25fe74e0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -529,10 +529,17 @@ enc/encinit.$(OBJEXT): enc/encinit.c $(SETUP)
cont.$(OBJEXT): $(COROUTINE_H)
+# Override this to allow failure of specific gems on CI
+TEST_BUNDLED_GEMS_ALLOW_FAILURES =
+
test-bundled-gems-run:
$(Q) set -e; while read gem _; do \
- echo testing $$gem gem && \
- $(XRUBY) -C $(srcdir)/gems/src/$$gem -Ilib ../../../.bundle/bin/rake; \
+ echo testing $$gem gem; \
+ if echo $(TEST_BUNDLED_GEMS_ALLOW_FAILURES) | grep -q $$gem; then \
+ $(XRUBY) -C $(srcdir)/gems/src/$$gem -Ilib ../../../.bundle/bin/rake || true; \
+ else \
+ $(XRUBY) -C $(srcdir)/gems/src/$$gem -Ilib ../../../.bundle/bin/rake; \
+ fi; \
done < $(srcdir)/gems/bundled_gems
update-src::