[admesh] 03/17: Update regression test.
Anton Gladky
gladk at moszumanska.debian.org
Fri May 9 21:40:58 UTC 2014
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository admesh.
commit 2a8af4e1bdaf62af9d431e907d76b941d0c3f1ac
Author: Anton Gladky <gladk at debian.org>
Date: Fri May 9 21:33:29 2014 +0200
Update regression test.
---
debian/patches/add-regression-test | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/debian/patches/add-regression-test b/debian/patches/add-regression-test
index d79bcd1..aa3df7e 100644
--- a/debian/patches/add-regression-test
+++ b/debian/patches/add-regression-test
@@ -9,7 +9,7 @@ Last-Update: 2011-02-06
--- /dev/null
+++ b/regression_test/regression_test_output_etalon
@@ -0,0 +1,36 @@
-+ADMesh version 0.96, Copyright (C) 1995, 1996 Anthony D. Martin
++ADMesh version 0.97.3, 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
@@ -22,7 +22,7 @@ Last-Update: 2011-02-06
+Calculating volume...
+Verifying neighbors...
+
-+================= Results produced by ADMesh version 0.96 ================
++================= Results produced by ADMesh version 0.97.3 ================
+Input file : block.stl
+File type : ASCII STL file
+Header : SOLID Untitled1
@@ -47,15 +47,18 @@ Last-Update: 2011-02-06
+Normals fixed : 0
--- /dev/null
+++ b/regression_test/regression_test
-@@ -0,0 +1,11 @@
+@@ -0,0 +1,14 @@
+#!/bin/dash
-+./build/admesh block.stl > regression_test_output_current
++export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./.libs/
++
++.libs/admesh block.stl > regression_test_output_current
+DIFFRESULT=`diff regression_test_output_current regression_test/regression_test_output_etalon`
+if [ "$DIFFRESULT" != "" ]; then
-+ rm regression_test_output_current
-+ echo 'Regression test is failed!'
++ rm regression_test_output_current
++ echo 'Regression test FAILED!'
+ exit 1
+else
+ rm regression_test_output_current
++ echo "Regression test PASSED!"
+ exit 0
+fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/admesh.git
More information about the debian-science-commits
mailing list