[plplot] 01/01: Completely disable ocaml tests on MIPS platforms

Ole Streicher olebole at moszumanska.debian.org
Sun Sep 24 09:23:59 UTC 2017


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

olebole pushed a commit to branch master
in repository plplot.

commit 4bb105a5444a0121940d669631916c95acdc4039
Author: Ole Streicher <olebole at debian.org>
Date:   Sun Sep 24 11:23:50 2017 +0200

    Completely disable ocaml tests on MIPS platforms
---
 debian/patches/Disable-failing-ocaml-tests.patch | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/debian/patches/Disable-failing-ocaml-tests.patch b/debian/patches/Disable-failing-ocaml-tests.patch
index 4773366..e04a01c 100644
--- a/debian/patches/Disable-failing-ocaml-tests.patch
+++ b/debian/patches/Disable-failing-ocaml-tests.patch
@@ -8,26 +8,27 @@ segmentation faults. The cause of this is still unclear.
 To investigate this further (and to build plplot on all platforms),
 all tests are run, but failures will not lead to stopping the build.
 
-Additionally, x22ocaml runs forever on mipsel (see #876485), so it is
-completely disabled.
+Additionally, the tests sometimes hang on MIPS platforms, so we
+disable them there completely.
 ---
- plplot_test/test_ocaml.sh.in | 11 +----------
- 1 file changed, 1 insertion(+), 10 deletions(-)
+ plplot_test/test_ocaml.sh.in | 12 +++---------
+ 1 file changed, 3 insertions(+), 9 deletions(-)
 
 diff --git a/plplot_test/test_ocaml.sh.in b/plplot_test/test_ocaml.sh.in
-index 84ba4b8..2a83378 100755
+index 84ba4b8..a825afa 100755
 --- a/plplot_test/test_ocaml.sh.in
 +++ b/plplot_test/test_ocaml.sh.in
-@@ -24,7 +24,7 @@
+@@ -24,6 +24,9 @@
  
  # Do the standard non-interactive examples.
  lang="ocaml"
--for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 15 16 18 19 20 21 22 23 24 25 26 27 28 30 31 33 ${critical_examples} ; do
-+for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 15 16 18 19 20 21 23 24 25 26 27 28 30 31 33 ${critical_examples} ; do
++# Consequently disable all tests on MIPS platform since they tend to
++# hang forever
++uname -m | grep -qi mips && exit 0
+ for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 15 16 18 19 20 21 22 23 24 25 26 27 28 30 31 33 ${critical_examples} ; do
      if [ "$verbose_test" ] ; then
  	echo "x${index}ocaml"
-     fi
-@@ -41,13 +41,4 @@ for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 15 16 18 19 20 21 22 23 2
+@@ -41,13 +44,4 @@ for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 15 16 18 19 20 21 22 23 2
  	status_code=$?
      fi
      cat test.error

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



More information about the debian-science-commits mailing list