add very simple compilation test
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Wed, 11 Nov 2009 22:03:08 +0000 (17:03 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Wed, 11 Nov 2009 22:03:08 +0000 (17:03 -0500)
configure.ac
tests/Makefile.am
tests/simple_include/Makefile.am [new file with mode: 0644]
tests/simple_include/simple_include.c [new file with mode: 0644]

index a332bff262b0bc0d32df6434b4b6f927f8669f89..b0320b02453dc62eb4a89998ff8784d778aa6dc3 100644 (file)
@@ -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
index 1da989f683711cdebc5f13e2212a172ee067ba55..2ddaceba3173d672013461dd49984fe835bf8ead 100644 (file)
@@ -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 (file)
index 0000000..3fa1041
--- /dev/null
@@ -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 (file)
index 0000000..aa500ba
--- /dev/null
@@ -0,0 +1,3 @@
+#include <ust/ust.h>
+
+int main () {}
This page took 0.026379 seconds and 4 git commands to generate.