[xtensor-python] 01/03: Fix autopkgtest failure with multiple Py3 versions

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Jul 9 22:24:33 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository xtensor-python.

commit af1a4bbed5c91e36356ea25c16bacc3a8bc4f8b1
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sun Jul 9 22:46:39 2017 +0100

    Fix autopkgtest failure with multiple Py3 versions
    
    Gbp-Dch: Short
    Thanks: Dmitry Shachnev
    Closes: #867026
---
 debian/tests/control | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
index 219c58c..5ec34bc 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,6 +2,7 @@ Test-Command: set -e
  ; cp -r test/* "$AUTOPKGTEST_TMP"
  ; for py in $(py3versions -r 2>/dev/null)
  ; do cd "$AUTOPKGTEST_TMP"
+ ; rm -rf build
  ; mkdir build && cd build
  ; echo "Testing with gcc and $py:"
  ; CC=gcc CXX=g++ cmake -DGTEST_SRC_DIR="/usr/src/googletest" -DPYTHON_EXECUTABLE="/usr/bin/$py" ..
@@ -19,6 +20,7 @@ Test-Command: set -e
  ; cp -r test/* "$AUTOPKGTEST_TMP"
  ; for py in $(py3versions -r 2>/dev/null)
  ; do cd "$AUTOPKGTEST_TMP"
+ ; rm -rf build
  ; mkdir build && cd build
  ; echo "Testing with clang and $py:"
  ; CC=clang CXX=clang++ cmake -DGTEST_SRC_DIR="/usr/src/googletest" -DPYTHON_EXECUTABLE="/usr/bin/$py" ..

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



More information about the debian-science-commits mailing list