ruby-changes:56635
From: Nobuyoshi <ko1@a...>
Date: Wed, 24 Jul 2019 12:01:14 +0900 (JST)
Subject: [ruby-changes:56635] Nobuyoshi Nakada: a39f218f22 (master): Reduced duplicate commands in test-bundled-gems-run
https://git.ruby-lang.org/ruby.git/commit/?id=a39f218f22 From a39f218f22e8ec205291022f9b748d51daa8df3b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 24 Jul 2019 11:51:04 +0900 Subject: Reduced duplicate commands in test-bundled-gems-run diff --git a/template/Makefile.in b/template/Makefile.in index eae67a5..df42499 100644 --- a/template/Makefile.in +++ b/template/Makefile.in @@ -536,13 +536,11 @@ cont.$(OBJEXT): $(COROUTINE_H) https://github.com/ruby/ruby/blob/trunk/template/Makefile.in#L536 TEST_BUNDLED_GEMS_ALLOW_FAILURES = test-bundled-gems-run: - $(Q) set -e; while read gem _; do \ + $(Q) while read gem _; do \ 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; \ + echo $(TEST_BUNDLED_GEMS_ALLOW_FAILURES) | grep -q $$gem || set -e; \ + $(XRUBY) -C $(srcdir)/gems/src/$$gem -Ilib ../../../.bundle/bin/rake; \ + set +e; \ done < $(srcdir)/gems/bundled_gems update-src:: -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/