Bug#876411: admesh: autopkgtests fail since 0.98.3-1 upload

Graham Inggs ginggs at debian.org
Thu Sep 21 20:55:42 UTC 2017


Source: admesh
Version: 0.98.3-1
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu artful autopkgtest

Hi Anton

ADMesh's autopkgtests have been failing since the 0.98.3-1 upload [1].
Output of the 'regression' test changed because it includes the
version.

If you are happy with the attached patch, I can do a team upload.

Regards
Graham


[1] https://ci.debian.net/packages/a/admesh/unstable/amd64/
-------------- next part --------------
--- a/debian/tests/regression
+++ b/debian/tests/regression
@@ -98,7 +98,6 @@
 EOF
 
 cat <<EOF > regression_test_output_etalon
-ADMesh version 0.98.2, Copyright (C) 1995, 1996 Anthony D. Martin
 ADMesh comes with NO WARRANTY.  This is free software, and you are welcome to
 redistribute it under certain conditions.  See the file COPYING for details.
 Opening block.stl
@@ -111,7 +110,6 @@
 Calculating volume...
 Verifying neighbors...
 
-================= Results produced by ADMesh version 0.98.2 ================
 Input file         : block.stl
 File type          : ASCII STL file
 Header             : SOLID  Untitled1
@@ -137,6 +135,8 @@
 EOF
 
 admesh block.stl > regression_test_output_current
+# delete lines containing the ADMesh version
+sed -i '/version/d' regression_test_output_current
 DIFFRESULT=`diff regression_test_output_current regression_test_output_etalon`
 if [ "$DIFFRESULT" != "" ]; then
   rm regression_test_output_current


More information about the debian-science-maintainers mailing list