[med-svn] [rapmap] 01/01: Add initial autopkgtest suite. Not yet working, due to error during build "spdlog/fmt/ostr.h: No such file or directory"

Katerina Kalou kkalou-guest at moszumanska.debian.org
Thu Jan 11 19:21:58 UTC 2018


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

kkalou-guest pushed a commit to branch master
in repository rapmap.

commit 68add80d4c65e7016807503d366e913a62bcf62a
Author: kkalou-guest <aik.kalou at gmail.com>
Date:   Thu Jan 11 21:20:33 2018 +0200

    Add initial autopkgtest suite. Not yet working, due to error during build "spdlog/fmt/ostr.h: No such file or directory"
---
 debian/tests/.control.swp       | Bin 0 -> 1024 bytes
 debian/tests/.run-unit-test.swp | Bin 0 -> 1024 bytes
 debian/tests/control            |   6 ++++++
 debian/tests/run-unit-test      |  23 +++++++++++++++++++++++
 4 files changed, 29 insertions(+)

diff --git a/debian/tests/.control.swp b/debian/tests/.control.swp
new file mode 100644
index 0000000..78c164f
Binary files /dev/null and b/debian/tests/.control.swp differ
diff --git a/debian/tests/.run-unit-test.swp b/debian/tests/.run-unit-test.swp
new file mode 100644
index 0000000..fc92874
Binary files /dev/null and b/debian/tests/.run-unit-test.swp differ
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7b4b784
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Tests: run-unit-test
+Depends: @,tclap,cereal,jellyfish
+Restrictions: allow-stderr,needs-root
+
+
+
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..5ab759e
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,23 @@
+#!/bin/bash
+#set -e
+
+pkg="rapmap"
+
+#If i do not include the symbolic link manually before runing 'autopkgtest -- null' the
+#package fails to build. If i do include the link then it builds succesfully. It 
+#throws an error when it tests the function 'quasiindex' -  i'm still working ot it!
+
+ln -s ~/spdlog/include/spdlog/ ~/${pkg}/include
+
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a ${pkg}/* $AUTOPKGTEST_TMP
+
+cd $AUTOPKGTEST_TMP
+
+rapmap quasiindex -t transcripts.fasta -i sample_quasi_index
+

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



More information about the debian-med-commit mailing list