summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-01 11:52:03 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-02 10:42:27 -0500
commitfed527aa5b1bf6855de2f76c22689b99a810122b (patch)
treec4ba5d5feb4af9d2c7cc567ba0f8719d43b9c84a /Makefile.am
parentada94e69cd42f436eb1122c22eab092dcc042c6b (diff)
test-sizeof: add a helper which prints variable sizes and signedness
This helps to understand misleading gcc warnings about type mismatches.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 9f64836f50..0f17bad8b1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1480,7 +1480,8 @@ tests += \
test-install-root \
test-rlimit-util \
test-signal-util \
- test-selinux
+ test-selinux \
+ test-sizeof
if HAVE_ACL
tests += \
@@ -1880,6 +1881,12 @@ test_selinux_SOURCES = \
test_selinux_LDADD = \
libshared.la
+test_sizeof_SOURCES = \
+ src/test/test-sizeof.c
+
+test_sizeof_LDADD = \
+ libshared.la
+
BUILT_SOURCES += \
src/test/test-hashmap-ordered.c