From 43f0d5acc1fc89b5890365f7624a2dd8e946df1f Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Wed, 11 Nov 2009 17:03:08 -0500 Subject: [PATCH] add very simple compilation test --- configure.ac | 1 + tests/Makefile.am | 2 +- tests/simple_include/Makefile.am | 8 ++++++++ tests/simple_include/simple_include.c | 3 +++ 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 tests/simple_include/Makefile.am create mode 100644 tests/simple_include/simple_include.c diff --git a/configure.ac b/configure.ac index a332bff..b0320b0 100644 --- a/configure.ac +++ b/configure.ac @@ -90,6 +90,7 @@ AC_CONFIG_FILES([ tests/basic/Makefile tests/basic_long/Makefile tests/fork/Makefile + tests/simple_include/Makefile libmallocwrap/Makefile libinterfork/Makefile ustd/Makefile diff --git a/tests/Makefile.am b/tests/Makefile.am index 1da989f..2ddaceb 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1 +1 @@ -SUBDIRS = hello hello2 basic basic_long fork +SUBDIRS = hello hello2 basic basic_long fork simple_include diff --git a/tests/simple_include/Makefile.am b/tests/simple_include/Makefile.am new file mode 100644 index 0000000..3fa1041 --- /dev/null +++ b/tests/simple_include/Makefile.am @@ -0,0 +1,8 @@ +AM_CPPFLAGS = -I$(top_srcdir)/include + +check_PROGRAMS = simple_include +simple_include_SOURCES = simple_include.c +simple_include_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o + +#noinst_SCRIPTS = run +#EXTRA_DIST = run diff --git a/tests/simple_include/simple_include.c b/tests/simple_include/simple_include.c new file mode 100644 index 0000000..aa500ba --- /dev/null +++ b/tests/simple_include/simple_include.c @@ -0,0 +1,3 @@ +#include + +int main () {} -- 2.34.1