[Debian-astro-commits] [gyoto] 01/01: gyoto (1.2.0-2) unstable; urgency=low

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Tue Jan 3 01:21:26 UTC 2017


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

thibaut pushed a commit to branch master
in repository gyoto.

commit 7e2a7365c287134aed7fada2cefcbaf1a8694cc4
Author: Thibaut Paumard <paumard at users.sourceforge.net>
Date:   Tue Jan 3 02:20:31 2017 +0100

    gyoto (1.2.0-2) unstable; urgency=low
    
      * Fix autopkgtest suite.
    
     -- Thibaut Paumard <thibaut at debian.org>  Sat, 31 Dec 2016 15:59:13 +0100
---
 debian/changelog              | 6 ++++++
 debian/tests/gyoto            | 5 ++++-
 debian/tests/gyoto-mpi        | 5 ++++-
 debian/tests/python-gyoto-mpi | 2 +-
 4 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3334de4..ba2c967 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gyoto (1.2.0-2) unstable; urgency=low
+
+  * Fix autopkgtest suite.
+
+ -- Thibaut Paumard <thibaut at debian.org>  Sat, 31 Dec 2016 15:59:13 +0100
+
 gyoto (1.2.0-1) unstable; urgency=low
 
   * Reupload to unstable
diff --git a/debian/tests/gyoto b/debian/tests/gyoto
index c8bad65..e8deec2 100755
--- a/debian/tests/gyoto
+++ b/debian/tests/gyoto
@@ -15,8 +15,11 @@ fi
 mkdir -p "${ADTTMP}"
 mkdir -p "${ADT_ARTIFACTS}"
 
+# Save current directory (must be top of source tree)
+SRC_ROOT=`pwd`
+
 # Get list of non-Lorene examples
-EXAMPLES_DIR=/usr/share/doc/libgyoto5/examples
+EXAMPLES_DIR=${SRC_ROOT}/doc/examples
 BASE_NAMES=`basename -s.xml ${EXAMPLES_DIR}/*.xml | sed 's/example-[^ ]*-rotstar3_1//'`
 
 # Build Gyoto command line
diff --git a/debian/tests/gyoto-mpi b/debian/tests/gyoto-mpi
index d0727e2..d8bc9a3 100755
--- a/debian/tests/gyoto-mpi
+++ b/debian/tests/gyoto-mpi
@@ -15,8 +15,11 @@ fi
 mkdir -p "${ADTTMP}"
 mkdir -p "${ADT_ARTIFACTS}"
 
+# Save current directory (must be top of source tree)
+SRC_ROOT=`pwd`
+
 # Get list of non-Lorene examples
-EXAMPLES_DIR=/usr/share/doc/libgyoto5/examples
+EXAMPLES_DIR=${SRC_ROOT}/doc/examples
 BASE_NAMES=`basename -s.xml ${EXAMPLES_DIR}/*.xml | sed 's/example-[^ ]*-rotstar3_1//'`
 
 # Build Gyoto command line
diff --git a/debian/tests/python-gyoto-mpi b/debian/tests/python-gyoto-mpi
index 64cb524..80fae95 100755
--- a/debian/tests/python-gyoto-mpi
+++ b/debian/tests/python-gyoto-mpi
@@ -37,7 +37,7 @@ export OMPI_MCA_plm_rsh_agent=/bin/false
 export OMPI_MCA_btl_tcp_if_include=lo
 HOSTFILE="${ADTTMP}"/hostfile.${script}
 echo localhost slots=5 > "${HOSTFILE}"
-MPIRUN_CMD="mpirun.openmpi -np 1 --hostfile ${HOSTFILE}"
+MPIRUN_CMD="mpirun.openmpi -np 5 --hostfile ${HOSTFILE}"
 
 # Run each example in this environment
 for python in python python2 python3 `pyversions -s` `py3versions -s` ; do

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



More information about the Debian-astro-commits mailing list