[med-svn] [trinityrnaseq] 03/03: include postinstall tests

Michael Crusoe misterc-guest at moszumanska.debian.org
Sun Feb 1 19:00:57 UTC 2015


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

misterc-guest pushed a commit to branch master
in repository trinityrnaseq.

commit c84735e81d924f6931fb367316e042f62f94c031
Author: Michael R. Crusoe <mcrusoe at msu.edu>
Date:   Sun Feb 1 14:00:45 2015 -0500

    include postinstall tests
---
 debian/test/control       |  3 +++
 debian/test/run-unit-test | 11 +++++++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/test/control b/debian/test/control
new file mode 100644
index 0000000..199fb5e
--- /dev/null
+++ b/debian/test/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, @builddeps@
+Restrictions: allow-stderr
diff --git a/debian/test/run-unit-test b/debian/test/run-unit-test
new file mode 100644
index 0000000..0d5917c
--- /dev/null
+++ b/debian/test/run-unit-test
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+pkg=trinityrnaseq
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+
+cp -rs /usr/lib/trinityrnaseq/ .
+cd trinityrnaseq/sample_data
+make

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/trinityrnaseq.git



More information about the debian-med-commit mailing list