summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-04-27 12:27:10 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-04-27 12:27:10 (GMT)
commitead4cdeb99029c6cf3bf85811c3ea32346b41b03 (patch)
tree308ddc21671ad480b62424d3d88c34959bb974ec /tests
parentd505165f2b958d35581d75113f78ad4131a16468 (diff)
downloadlibnl-ead4cdeb99029c6cf3bf85811c3ea32346b41b03.zip
libnl-ead4cdeb99029c6cf3bf85811c3ea32346b41b03.tar.gz
libnl-ead4cdeb99029c6cf3bf85811c3ea32346b41b03.tar.bz2
tests: Make unit test building optional
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6a5606a..3e9eafe 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,7 @@
# -*- Makefile -*-
+if ENABLE_UNIT_TESTS
+
AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
LDADD = \
@@ -45,3 +47,4 @@ test_complex_HTB_with_hash_filters_SOURCES = test-complex-HTB-with-hash-filters.
check_all_SOURCES = \
check-all.c \
check-addr.c
+endif