[3depict] 01/02: * Really drop unit tests

D Haley mycae-guest at moszumanska.debian.org
Mon Jan 20 08:27:05 UTC 2014


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

mycae-guest pushed a commit to branch master
in repository 3depict.

commit 641467c710b3c55a205d70bcc0dd1c80465d745f
Author: D Haley <mycae at gmx.com>
Date:   Mon Jan 20 09:24:59 2014 +0100

    * Really drop unit tests
---
 debian/control         |  1 -
 debian/tests/control   |  2 --
 debian/tests/unittests | 78 --------------------------------------------------
 3 files changed, 81 deletions(-)

diff --git a/debian/control b/debian/control
index 31b3861..ed4706a 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,6 @@ Standards-Version: 3.9.4
 Homepage: http://threedepict.sourceforge.net/index.html
 Vcs-Git: git://git.debian.org/debian-science/packages/3depict.git
 Vcs-Browser: http://git.debian.org/?p=debian-science/packages/3depict.git
-XS-Testsuite: autopkgtest
 
 
 Package: 3depict
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index 86b7de4..0000000
--- a/debian/tests/control
+++ /dev/null
@@ -1,2 +0,0 @@
-Tests: unittests
-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), libgl1-mesa-dev | libgl-dev, libpng-dev | libpng15-dev, libqhull-dev, libwxgtk2.8-dev, libftgl-dev, libxml2-dev, libmgl-dev 
diff --git a/debian/tests/unittests b/debian/tests/unittests
deleted file mode 100755
index b074184..0000000
--- a/debian/tests/unittests
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/bash
-
-CONFIGURE_PARAMS="" #"--enable-mgl2"
-
-#apply all quilt patches, recording current status
-export QUILT_PATCHES=debian/patches
-if [ ! -f ${QUILT_PATCHES}/series ] ; then
-
-	echo "Quilt series file, $QUILT_PATCHES missing "
-	exit 1
-fi
-
-QUILT_APPLIED=`quilt applied`
-quilt push -a 
-
-#If manually running outside autopkgtest, then
-# just use /tmp
-if [ x"$ADTDMP" == x"" ] ; then
-	if [ x"$TMP" == x"" ] ; then
-		ADTDMP=/tmp/
-	else
-		ADTDMP=$TMP
-	fi
-fi
-
-REBUILD_DIR=$ADTDMP/3depict-debug/
-
-#Go to top level dir
-#---
-TOP_LEVEL=` git rev-parse --show-toplevel`
-if [ $? -ne 0 ] ; then
-	TOP_LEVEL=""
-else
-	pushd $TOP_LEVEL
-fi
-
-
-
-rm -rf $REBUILD_DIR || exit 1;
-mkdir  $REBUILD_DIR || exit 1;
-cp -R ./ $REBUILD_DIR 
-
-pushd $REBUILD_DIR
-
-#Rebuild program with debugging enabled.
-# Run tests in both single and multithreaded modes
-#----
-#First run may not have built per Debian bug #730100  
-if [ -f Makefile ] ; then
-	make clean ||  exit 1;
-fi
-./configure  $CONFIGURE_PARAMS ||  exit 1;   
-make -j2  ||  exit 1;
-./src/3Depict -t || exit 1; 
-
-make clean || exit 1;
-./configure $CONFIGURE_PARAMS --enable-openmp-parallel
-make -j2
-./src/3Depict -t || exit 1;
-make clean
-#----
-
-rm -rf $REBUILD_DIR/
-
-popd 
-
-#Restore patches to previous state
-quilt pop -a
-for i in $QUILT_APPLIED
-do
-	quilt push
-done
-
-if [ x"$TOP_LEVEL" != x"" ] ; then
-	popd
-fi
-
-

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



More information about the debian-science-commits mailing list