[yorick] 01/01: * Include autopkgtest suite; * Also run X11 tests during build (in xfb-run).

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Thu May 21 09:41:23 UTC 2015


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

thibaut pushed a commit to branch master
in repository yorick.

commit 4e9bd26658e51135006ddf21221cfc44f7cbc7e0
Author: Thibaut Paumard <thibaut at debian.org>
Date:   Thu May 21 11:27:03 2015 +0200

      * Include autopkgtest suite;
      * Also run X11 tests during build (in xfb-run).
---
 debian/changelog     |  7 +++++++
 debian/check.i       | 33 ---------------------------------
 debian/control       |  4 +++-
 debian/rules         |  2 +-
 debian/tests/control |  2 ++
 5 files changed, 13 insertions(+), 35 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 83ff729..7178bd1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+yorick (2.2.04+dfsg1-2) UNRELEASED; urgency=low
+
+  * Include autopkgtest suite;
+  * Also run X11 tests during build (in xfb-run).
+
+ -- Thibaut Paumard <thibaut at debian.org>  Thu, 21 May 2015 11:03:38 +0200
+
 yorick (2.2.04+dfsg1-1) unstable; urgency=low
 
   * New upstream release (with same version, hence bumping the dfsg
diff --git a/debian/check.i b/debian/check.i
deleted file mode 100644
index eb1a1ec..0000000
--- a/debian/check.i
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * $Id: check.i,v 1.1 2009/12/02 16:01:03 paumard Exp $
- * This file runs a full set of tests on the Macintosh version 
- * of yorick, although it should be also useful for any other version.
- */
-/* Copyright (c) 2005, The Regents of the University of California.
- * All rights reserved.
- * This file is part of yorick (http://yorick.sourceforge.net).
- * Read the accompanying LICENSE file for details.
- */
-
-/* run all tests in testp.i */
-skip_testb= 0;
-skip_test1= 0;
-skip_test2= 0;
-skip_test3= 0;
-
-/* use the same pass count for all tests */
-npass= 20;
-
-/* run the parser test */
-#include "testp.i"
-
-/* Run the tests of the math library routines */
-#include "testm.i"
-testm;
-
-/* Run the linpack benchmark */
-#include "testlp.i"
-testlp, 200;
-write, "";
-
-quit;
diff --git a/debian/control b/debian/control
index 71fab5f..99108d4 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,10 @@ Uploaders: Thibaut Paumard <thibaut at debian.org>
 Build-Depends: libx11-dev, texinfo, debhelper (>= 7.0.0), quilt (>= 0.40),
  imagemagick, po-debconf, texi2html, mpi-default-dev,
  libmpich-dev   [!powerpcspe !sh4 !x32],
- libopenmpi-dev [!hppa !s390 !sh4 !x32 !s390x]
+ libopenmpi-dev [!hppa !s390 !sh4 !x32 !s390x],
+ xvfb, xauth, xfonts-base
 Standards-Version: 3.9.6
+Testsuite: autopkgtest
 Vcs-Git:      git://anonscm.debian.org/debian-science/packages/yorick.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/yorick.git
 Homepage: http://yorick.sourceforge.net
diff --git a/debian/rules b/debian/rules
index a1399a8..843d64c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,7 @@ check:
 ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
 # Untill 580524 is closed
 ifeq (,$(filter $(DEB_HOST_ARCH), ia64 hurd-i386 mips))
-	relocate/bin/yorick -batch debian/check.i
+	xvfb-run relocate/bin/yorick -batch testfull.i
 endif
 endif
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..ea0d940
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Test-Command: xvfb-run yorick -batch testfull.i
+Depends: yorick, xvfb, xauth, xfonts-base

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



More information about the debian-science-commits mailing list