[med-svn] [Git][med-team/lambda-align][master] Fix AutoPkgTests
Michael R. Crusoe
gitlab at salsa.debian.org
Sun Feb 18 10:04:34 UTC 2018
Michael R. Crusoe pushed to branch master at Debian Med / lambda-align
Commits:
d1546206 by Michael R. Crusoe at 2018-02-18T02:02:14-08:00
Fix AutoPkgTests
- - - - -
3 changed files:
- debian/changelog
- debian/tests/control
- debian/tests/run-tests
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+lambda-align (1.0.3-2) unstable; urgency=medium
+
+ * Fix AutoPkgTests, tested locally with debci
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com> Sun, 18 Feb 2018 02:00:59 -0800
+
lambda-align (1.0.3-1) unstable; urgency=medium
[ Steffen Moeller ]
=====================================
debian/tests/control
=====================================
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
Tests: run-tests
-Depends: lambda-align, openssl, gzip, coreutils, diffutils
+Depends: @, @builddeps@, openssl, gzip, coreutils, diffutils
Restrictions: allow-stderr
=====================================
debian/tests/run-tests
=====================================
--- a/debian/tests/run-tests
+++ b/debian/tests/run-tests
@@ -1,8 +1,10 @@
-#!/bin/sh -e
+#!/bin/sh -ex
mkdir build
cd build
-cmake ../
-for binary in $(dpkg -L lambda-align); do ln -s ${binary} bin/; done
+cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON \
+ -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON ../
+for binary in $(dpkg -L lambda-align | grep bin/); do ln -s ${binary} bin/; done
+cd tests
ctest --parallel $(nproc)
View it on GitLab: https://salsa.debian.org/med-team/lambda-align/commit/d1546206774e36829455bac0303e7ca6e25c426e
---
View it on GitLab: https://salsa.debian.org/med-team/lambda-align/commit/d1546206774e36829455bac0303e7ca6e25c426e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180218/fe691107/attachment-0001.html>
More information about the debian-med-commit
mailing list