[cpp-log4shib] 14/15: Add simple autopkgtest compiling and running a build test
Scott Cantor
cantor.2 at osu.edu
Tue Oct 19 16:14:58 UTC 2021
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to annotated tag debian/1.0.9-4
in repository cpp-log4shib.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-log4shib.git;a=commit;h=40f263c7ee91aafe998d0ac027b26e27f820d88a
commit 40f263c7ee91aafe998d0ac027b26e27f820d88a
Author: Ferenc Wágner <wferi at debian.org>
AuthorDate: Tue May 15 17:15:24 2018 +0200
Add simple autopkgtest compiling and running a build test
---
debian/tests/config | 7 +++++++
debian/tests/control | 4 ++++
2 files changed, 11 insertions(+)
diff --git a/debian/tests/config b/debian/tests/config
new file mode 100755
index 0000000..7820ad2
--- /dev/null
+++ b/debian/tests/config
@@ -0,0 +1,7 @@
+#!/bin/sh -ex
+
+cd tests
+g++ $(pkg-config --cflags log4shib) \
+ -o testConfig testConfig.cpp \
+ $(pkg-config --libs log4shib)
+./testConfig
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..6dc4bd3
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: config
+Depends: liblog4shib-dev, g++, pkg-config
+# set -x writes to stderr, so:
+Restrictions: allow-stderr
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list