[sasmodels] 05/09: Make sure failing tests fail the build

Stuart Prescott stuart at debian.org
Mon Nov 6 11:23:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

stuart pushed a commit to branch master
in repository sasmodels.

commit 705eab0acddc4fcdf855815216c9db984df23b2f
Author: Stuart Prescott <stuart at debian.org>
Date:   Mon Nov 6 21:46:31 2017 +1100

    Make sure failing tests fail the build
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7e458a5..213ad47 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,8 +31,8 @@ override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	mkdir -p $(POCL_CACHE_DIR)
 	PYBUILD_SYSTEM=custom \
-	  PYBUILD_TEST_ARGS='cd {build_dir}; \
-	    {interpreter} -m sasmodels.model_test opencl all; \
+	  PYBUILD_TEST_ARGS='cd {build_dir} && \
+	    {interpreter} -m sasmodels.model_test opencl all && \
 	    {interpreter} -m unittest -v sasmodels.resolution; \
 	    ' \
           dh_auto_test --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sasmodels.git



More information about the debian-science-commits mailing list