[gerris] 01/02: Remove testCons autopkgtest.
Anton Gladky
gladk at moszumanska.debian.org
Thu Sep 11 18:48:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository gerris.
commit 8a53e185cfea7f9dc192cdc06d5d7a3d7a4e4005
Author: Anton Gladky <gladk at debian.org>
Date: Thu Sep 11 20:44:04 2014 +0200
Remove testCons autopkgtest.
---
debian/tests/control | 2 +-
debian/tests/testCons | 74 ---------------------------------------------------
2 files changed, 1 insertion(+), 75 deletions(-)
diff --git a/debian/tests/control b/debian/tests/control
index 581a49d..e5416fd 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,2 @@
-Tests: testCons testHydro testKinetic testPlate testQuadr
+Tests: testHydro testKinetic testPlate testQuadr
Depends: gerris, libgfs-1.3-2, libgfs-dev, build-essential, pkg-config, mpi-default-dev, libgts-dev
diff --git a/debian/tests/testCons b/debian/tests/testCons
deleted file mode 100755
index 1ef0647..0000000
--- a/debian/tests/testCons
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/sh
-# autopkgtest check
-# (C) 2014 Anton Gladky
-
-set -e
-
-export OMPI_MCA_orte_rsh_agent=/bin/false
-
-WORKDIR=$(mktemp -d)
-trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
-cd $WORKDIR
-
-cat <<EOF > demo.tst
-# Title: Conservation of diffusive tracer
-#
-# Description:
-#
-# Tests that the total amount of a diffusive tracer is conserved
-# exactly on adaptive meshes. Also compares solutions obtained using
-# the implicit and explicit schemes.
-#
-# Author: St\'ephane Popinet and Ye Tao
-# Command: gerris3D conservation.gfs
-# Version: 110131
-# Required files:
-#
-1 0 GfsSimulation GfsBox GfsGEdge {} {
- Time { iend = 100 dtmax = 2e-1 }
- Refine 3
- VariableTracer T
- VariableTracer Te
- InitFraction T (0.01 - (x*x + y*y + z*z))
- InitFraction Te (0.01 - (x*x + y*y + z*z))
- SourceDiffusion T 1e-4 { beta = 0.5 }
- SourceDiffusionExplicit Te 1e-4
- AdaptGradient { istep = 1 } { minlevel = 3 maxlevel = 5 cmax = 1e-2 } T
- OutputScalarSum { istep = 1 } st { v = T }
- OutputScalarSum { istep = 1 } ste { v = T }
- OutputScalarStats { istep = 1 } t { v = T }
- OutputScalarStats { istep = 1 } te { v = T }
- OutputScalarNorm { istep = 1 } diff { v = (T - Te) }
- EventScript { start = end } {
- if awk '{if (\$9 > 8e-3) {
- print "diff: " \$9 > "/dev/stderr"; exit (1);
- }}' < diff &&
- awk 'BEGIN{ s=-1 } {
- if (s < 0.) s = \$5;
- else if (\$5 - s != 0.) {
- print "st: " \$5 - s > "/dev/stderr"; exit (1);
- }
- }' < st &&
- awk 'BEGIN{ s=-1 } {
- if (s < 0.) s = \$5;
- else if (\$5 - s != 0.) {
- print "ste: " \$5 - s > "/dev/stderr"; exit (1);
- }
- }' < ste ; then :
- else
- exit \$GFS_STOP;
- fi
- }
-}
-GfsBox{}
-EOF
-
-gerris2D ./demo.tst
-ls -ln
-cat diff; cat st; cat ste; cat t; cat te
-rm diff; rm st; rm ste; rm t; rm te
-gerris3D ./demo.tst
-ls -ln
-cat diff; cat st; cat ste; cat t; cat te
-rm diff; rm st; rm ste; rm t; rm te
-echo "run: OK"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gerris.git
More information about the debian-science-commits
mailing list