[jruby] 02/08: Do not ignore failed tests
Miguel Landaeta
nomadium at moszumanska.debian.org
Thu Apr 13 07:17:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
nomadium pushed a commit to branch experimental
in repository jruby.
commit 87a86dcef46747e58a5c52801a2fc746e713e752
Author: Miguel Landaeta <nomadium at debian.org>
Date: Mon Apr 10 22:30:04 2017 +0100
Do not ignore failed tests
---
debian/rules | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index e362912..74ec0e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -83,10 +83,10 @@ TEST_CMD = dh_auto_build -- package -B -Dinvoker.skip=false
override_dh_auto_test: prepare-tests
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
$(TEST_CMD) -Ptest
- for task in $$(cat ./debian/test-tasks.txt | grep -v ^#); do \
+ (for task in $$(cat ./debian/test-tasks.txt | grep -v ^#); do \
echo "*** Running '$$task' tests..." ; \
- $(TEST_CMD) -Prake -Dtask=$$task ; \
- done
+ $(TEST_CMD) -Prake -Dtask=$$task || exit ; \
+ done)
# this last set of tests is run outside the loop because is the only one using JRUBY_OPTS env var
echo "*** Running 'spec:compiler' tests (JRUBY_OPTS=-Xcompile.invokedynamic)..."
JRUBY_OPTS=-Xcompile.invokedynamic $(TEST_CMD) -Prake -Dtask=spec:compiler
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby.git
More information about the pkg-java-commits
mailing list