[med-svn] [fermi-lite] 01/01: adjust test for build outside of upstream source tree

Sascha Steinbiss satta at debian.org
Thu Aug 4 05:35:35 UTC 2016


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

satta pushed a commit to branch master
in repository fermi-lite.

commit d3588d79b953b266803c5c76b059683b07355707
Author: Sascha Steinbiss <satta at debian.org>
Date:   Sun Jul 31 18:04:07 2016 +0000

    adjust test for build outside of upstream source tree
---
 debian/changelog       | 6 ++++++
 debian/tests/build-lib | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3dc1ff0..8170e5b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+fermi-lite (0.1-2) UNRELEASED; urgency=medium
+
+  * Autopkgtest: build example outside of upstream source tree.
+
+ -- Sascha Steinbiss <satta at debian.org>  Sun, 31 Jul 2016 17:59:00 +0000
+
 fermi-lite (0.1-1) unstable; urgency=low
 
   * Initial packaging (Closes: #832757)
diff --git a/debian/tests/build-lib b/debian/tests/build-lib
index 394179a..2fa3f3c 100755
--- a/debian/tests/build-lib
+++ b/debian/tests/build-lib
@@ -8,7 +8,9 @@ DATADIR=$(pwd)/test
 WORKDIR=$(mktemp -d)
 trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
 cd $WORKDIR
-gcc -O2 -o fermi-lite $SRC -lfml -lz -lm -lpthread
+
+cp $SRC .
+gcc -O2 -o fermi-lite example.c -lfml -lz -lm -lpthread
 [ -x fermi-lite ]
 echo "build: OK"
 

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



More information about the debian-med-commit mailing list