[med-svn] [khmer] 01/01: Add test of liboxli-dev install

Kevin Murray daube-guest at moszumanska.debian.org
Tue Aug 11 23:49:17 UTC 2015


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

daube-guest pushed a commit to branch master
in repository khmer.

commit ff75b29347d37ede58b1b7ce6857fc0a67cbf3a1
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Wed Aug 12 09:48:18 2015 +1000

    Add test of liboxli-dev install
---
 debian/tests/control          |  4 ++--
 debian/tests/test-liboxli-dev | 14 ++++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index d2aa55a..4692703 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
-Tests: run-unit-test
-Depends: @
+Tests: run-unit-test, test-liboxli-dev
+Depends: @, @builddeps@
 Restrictions: allow-stderr
diff --git a/debian/tests/test-liboxli-dev b/debian/tests/test-liboxli-dev
new file mode 100644
index 0000000..7560e03
--- /dev/null
+++ b/debian/tests/test-liboxli-dev
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+c++ -o test-prog-static \
+    lib/test-compile.cc \
+    /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/liboxli.a
+
+./test-prog-static
+
+c++ -o test-prog-dynamic  lib/test-compile.cc -loxli
+
+./test-prog-dynamic
+
+
+rm -f test-prog-*

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



More information about the debian-med-commit mailing list