From: Pierre-Marc Fournier Date: Wed, 11 Nov 2009 22:03:08 +0000 (-0500) Subject: add very simple compilation test X-Git-Tag: v1.9.1~823 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=43f0d5acc1fc89b5890365f7624a2dd8e946df1f;p=lttng-ust.git add very simple compilation test --- diff --git a/configure.ac b/configure.ac index a332bff2..b0320b02 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 1da989f6..2ddaceba 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 00000000..3fa10411 --- /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 00000000..aa500ba7 --- /dev/null +++ b/tests/simple_include/simple_include.c @@ -0,0 +1,3 @@ +#include + +int main () {}