[med-svn] r18241 - in trunk/packages/beast-mcmc/trunk/debian: . patches tests

Andreas Tille tille at moszumanska.debian.org
Tue Oct 7 18:25:34 UTC 2014


Author: tille
Date: 2014-10-07 18:25:34 +0000 (Tue, 07 Oct 2014)
New Revision: 18241

Added:
   trunk/packages/beast-mcmc/trunk/debian/README.test
   trunk/packages/beast-mcmc/trunk/debian/beast-mcmc.docs
   trunk/packages/beast-mcmc/trunk/debian/tests/
   trunk/packages/beast-mcmc/trunk/debian/tests/run-unit-test
Removed:
   trunk/packages/beast-mcmc/trunk/debian/libnucleotidelikelihoodcore0.links
Modified:
   trunk/packages/beast-mcmc/trunk/debian/changelog
   trunk/packages/beast-mcmc/trunk/debian/control
   trunk/packages/beast-mcmc/trunk/debian/patches/create_soname.patch
Log:
Explicitly add multiarch library PATH to wrapper script to make sure libhmsbeagle-jni will be found, add test without autopkgtest control file (contrib is not tested anyway)


Added: trunk/packages/beast-mcmc/trunk/debian/README.test
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/README.test	                        (rev 0)
+++ trunk/packages/beast-mcmc/trunk/debian/README.test	2014-10-07 18:25:34 UTC (rev 18241)
@@ -0,0 +1,9 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+To run the tests provided by the package you can install the package
+beast-mcmc-examples and run
+
+   sh  run-unit-test
+
+in this directory.

Added: trunk/packages/beast-mcmc/trunk/debian/beast-mcmc.docs
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/beast-mcmc.docs	                        (rev 0)
+++ trunk/packages/beast-mcmc/trunk/debian/beast-mcmc.docs	2014-10-07 18:25:34 UTC (rev 18241)
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/run-unit-test

Modified: trunk/packages/beast-mcmc/trunk/debian/changelog
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/changelog	2014-10-07 15:07:17 UTC (rev 18240)
+++ trunk/packages/beast-mcmc/trunk/debian/changelog	2014-10-07 18:25:34 UTC (rev 18241)
@@ -5,6 +5,10 @@
   * d/watch: Stick to 1.x series of beast-mcmc
   * cme fix dpkg-control
   * fix encoding issue
+  * Explicitly add multiarch library PATH to wrapper script to make sure
+    libhmsbeagle-jni will be found
+  * Add test but do not add autopkgtest control file for the moment
+    (since non-free is not tested anyway)
 
  -- Andreas Tille <tille at debian.org>  Tue, 30 Sep 2014 18:15:36 +0200
 

Modified: trunk/packages/beast-mcmc/trunk/debian/control
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/control	2014-10-07 15:07:17 UTC (rev 18240)
+++ trunk/packages/beast-mcmc/trunk/debian/control	2014-10-07 18:25:34 UTC (rev 18241)
@@ -69,8 +69,8 @@
  is a simple to use user-interface program for setting up standard 
  analyses and a suit of programs for analysing the results.
  .
- This package an implementation of LikelihoodCore for nucleotides that calls
- native methods for maximum speed.
+ This package provides an implementation of LikelihoodCore for nucleotides
+ that calls native methods for maximum speed.
 
 Package: beast-mcmc-examples
 Architecture: all

Deleted: trunk/packages/beast-mcmc/trunk/debian/libnucleotidelikelihoodcore0.links
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/libnucleotidelikelihoodcore0.links	2014-10-07 15:07:17 UTC (rev 18240)
+++ trunk/packages/beast-mcmc/trunk/debian/libnucleotidelikelihoodcore0.links	2014-10-07 18:25:34 UTC (rev 18241)
@@ -1 +0,0 @@
-usr/lib/libNucleotideLikelihoodCore.so.0	usr/lib/libNucleotideLikelihoodCore.so

Modified: trunk/packages/beast-mcmc/trunk/debian/patches/create_soname.patch
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/patches/create_soname.patch	2014-10-07 15:07:17 UTC (rev 18240)
+++ trunk/packages/beast-mcmc/trunk/debian/patches/create_soname.patch	2014-10-07 18:25:34 UTC (rev 18241)
@@ -18,4 +18,4 @@
  
  libNucleotideLikelihoodCore.so: ${OBJS}
 -	${CC} $(CPPFLAGS) ${CFLAGS} $(LDFLAGS) ${INCLUDES} -shared -o libNucleotideLikelihoodCore.so ${OBJS}
-+	${CC} ${CFLAGS} ${INCLUDES} -shared -Wl,-soname,libNucleotideLikelihoodCore.so.0 -o libNucleotideLikelihoodCore.so ${OBJS}
++	${CC} ${CFLAGS} ${INCLUDES} -shared -Wl,-soname,libNucleotideLikelihoodCore.so.0 -o libNucleotideLikelihoodCore.so.0 ${OBJS}

Added: trunk/packages/beast-mcmc/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/beast-mcmc/trunk/debian/tests/run-unit-test	2014-10-07 18:25:34 UTC (rev 18241)
@@ -0,0 +1,11 @@
+#!/bin/bash -e
+pkg=beast-mcmc
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+
+for file in /usr/share/doc/beast-mcmc/examples/*/*\.xml 
+do 
+  beast-mcmc -overwrite $file 
+done
\ No newline at end of file


Property changes on: trunk/packages/beast-mcmc/trunk/debian/tests/run-unit-test
___________________________________________________________________
Added: svn:executable
   + *




More information about the debian-med-commit mailing list