зеркало из https://github.com/github/ruby.git
Reduced duplicate commands in test-bundled-gems-run
This commit is contained in:
Родитель
df317151a5
Коммит
a39f218f22
|
@ -536,13 +536,11 @@ cont.$(OBJEXT): $(COROUTINE_H)
|
|||
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::
|
||||
|
|
Загрузка…
Ссылка в новой задаче