From 9064a508d5f1ed3514d3e5b4734576e80f7048ae Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 7 Dec 2023 11:58:47 +0100 Subject: Add a global test to ensure that all headers are compiling --- tests/Makefile | 1 + tests/test_compile.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tests/test_compile.c (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index 4889dc7..f91bff0 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -18,6 +18,7 @@ RUNTIME_TARGETS= \ test_bcopy_static_write \ test_bzero_dynamic_write \ test_bzero_static_write \ + test_compile \ test_confstr_dynamic \ test_confstr_static \ test_fgets_dynamic \ diff --git a/tests/test_compile.c b/tests/test_compile.c new file mode 100644 index 0000000..edbbb27 --- /dev/null +++ b/tests/test_compile.c @@ -0,0 +1,18 @@ +#include "common.h" + +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +// Check that all headers are compiling. +int main(int argc, char** argv) { + return 0; +} -- cgit v1.3