From: Guillem Jover Date: Sat, 24 Mar 2012 19:37:55 +0000 (+0100) Subject: test: Add new headers unit test X-Git-Tag: 0.4.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf14c3940a5ec08bb9fce9ddfb7375309a4d97f;p=thirdparty%2Flibbsd.git test: Add new headers unit test --- diff --git a/test/.gitignore b/test/.gitignore new file mode 100644 index 0000000..4237ec7 --- /dev/null +++ b/test/.gitignore @@ -0,0 +1 @@ +headers diff --git a/test/Makefile.am b/test/Makefile.am index 6977948..30749c2 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -11,6 +11,7 @@ AM_CPPFLAGS = \ -D__REENTRANT check_PROGRAMS = \ + headers \ $(nil) TESTS = $(check_PROGRAMS) diff --git a/test/headers.c b/test/headers.c new file mode 100644 index 0000000..bc429fd --- /dev/null +++ b/test/headers.c @@ -0,0 +1,25 @@ +/* Check that all libbsd overlayed headers preprocess. */ +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +int +main() +{ + return 0; +}