[rasterio] 04/06: Skip failing tests during build

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Sun Aug 23 19:48:27 UTC 2015


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

johanvdw-guest pushed a commit to branch master
in repository rasterio.

commit c82e600c7b44e60578fb861f7cc7aa0fd150264b
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Sat Aug 22 22:45:32 2015 +0200

    Skip failing tests during build
    
    These tests only succeed after installation.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index ff7b802..a21bf67 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,8 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=rasterio
-export PYBUILD_BEFORE_TEST= cp -r {dir}/tests {build_dir}
-export PYBUILD_BEFORE_TEST_python3= cp -r {dir}/tests {build_dir}
+#disable tests in test_rio_overview as they only seem to work after installation
+export PYBUILD_BEFORE_TEST= cp -r {dir}/tests {build_dir};rm {build_dir}/tests/test_rio_overview.py;rm {build_dir}/tests/test_rio_info.py
 
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
 export PYBUILD_TEST_PYTEST=1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/rasterio.git



More information about the Pkg-grass-devel mailing list