From: Pierre-Marc Fournier Date: Wed, 11 Nov 2009 22:03:08 +0000 (-0500) Subject: add very simple compilation test X-Git-Tag: v0.1~47 X-Git-Url: http://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=43f0d5acc1fc89b5890365f7624a2dd8e946df1f add very simple compilation test --- 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 () {}