summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2018-08-28 09:07:50 -0500
committerMichael Catanzaro <mcatanzaro@igalia.com>2018-08-28 09:07:50 -0500
commit6d907815dcae687a505250d95b4f2ab83dca3b41 (patch)
treed9423ae9d19cd63265f8f6ca57b6502d4acc4bda
parent89b788744aee0860bea793dee2b77a2279f9991c (diff)
downloadgtk-doc-6d907815dcae687a505250d95b4f2ab83dca3b41.tar.gz
Revert "tests: don't compile the sources in the integration test"
This reverts commit d7770b318fe73495017d2de1e6f3751bbad3295e. Also very broken
-rw-r--r--configure.ac13
-rw-r--r--tests/annotations/Makefile.am11
-rw-r--r--tests/annotations/src/Makefile.am15
-rw-r--r--tests/bugs/Makefile.am12
-rw-r--r--tests/bugs/src/Makefile.am15
-rw-r--r--tests/empty/Makefile.am13
-rw-r--r--tests/empty/src/Makefile.am15
-rw-r--r--tests/fail/Makefile.am12
-rw-r--r--tests/fail/src/Makefile.am15
-rwxr-xr-xtests/gobject.sh2
-rw-r--r--tests/gobject/Makefile.am13
-rw-r--r--tests/program/Makefile.am11
-rw-r--r--tests/program/src/Makefile.am10
-rw-r--r--tests/repro/Makefile.am12
-rw-r--r--tests/repro/src/Makefile.am15
15 files changed, 182 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 53f2c9c..eb97907 100644
--- a/configure.ac
+++ b/configure.ac
@@ -220,13 +220,26 @@ gtkdoc/config.py
help/Makefile
help/manual/Makefile
tests/Makefile
+tests/annotations/Makefile
+tests/annotations/src/Makefile
tests/annotations/docs/Makefile
+tests/bugs/Makefile
+tests/bugs/src/Makefile
tests/bugs/docs/Makefile
+tests/empty/Makefile
+tests/empty/src/Makefile
tests/empty/docs/Makefile
+tests/fail/Makefile
+tests/fail/src/Makefile
tests/fail/docs/Makefile
+tests/gobject/Makefile
tests/gobject/src/Makefile
tests/gobject/docs/Makefile
+tests/program/Makefile
+tests/program/src/Makefile
tests/program/docs/Makefile
+tests/repro/Makefile
+tests/repro/src/Makefile
tests/repro/docs/Makefile
])
diff --git a/tests/annotations/Makefile.am b/tests/annotations/Makefile.am
new file mode 100644
index 0000000..1653011
--- /dev/null
+++ b/tests/annotations/Makefile.am
@@ -0,0 +1,11 @@
+## Process this file with automake to produce Makefile.in
+
+SUBDIRS = . src docs
+
+if BUILD_TESTS
+
+check-local: clean
+
+endif
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/annotations/src/Makefile.am b/tests/annotations/src/Makefile.am
new file mode 100644
index 0000000..77f9241
--- /dev/null
+++ b/tests/annotations/src/Makefile.am
@@ -0,0 +1,15 @@
+## Process this file with automake to produce Makefile.in
+
+if BUILD_TESTS
+
+noinst_LTLIBRARIES = libtester.la
+
+libtester_la_SOURCES = tester.c tester.h
+#libtester_la_LIBADD = $(TEST_DEPS_LIBS)
+
+AM_CPPFLAGS = $(TEST_DEPS_CFLAGS)
+
+endif
+
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/bugs/Makefile.am b/tests/bugs/Makefile.am
new file mode 100644
index 0000000..ad34ec6
--- /dev/null
+++ b/tests/bugs/Makefile.am
@@ -0,0 +1,12 @@
+## Process this file with automake to produce Makefile.in
+
+SUBDIRS = . src docs
+
+if BUILD_TESTS
+
+check-local: clean
+
+endif
+
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/bugs/src/Makefile.am b/tests/bugs/src/Makefile.am
new file mode 100644
index 0000000..77f9241
--- /dev/null
+++ b/tests/bugs/src/Makefile.am
@@ -0,0 +1,15 @@
+## Process this file with automake to produce Makefile.in
+
+if BUILD_TESTS
+
+noinst_LTLIBRARIES = libtester.la
+
+libtester_la_SOURCES = tester.c tester.h
+#libtester_la_LIBADD = $(TEST_DEPS_LIBS)
+
+AM_CPPFLAGS = $(TEST_DEPS_CFLAGS)
+
+endif
+
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/empty/Makefile.am b/tests/empty/Makefile.am
new file mode 100644
index 0000000..c854e6a
--- /dev/null
+++ b/tests/empty/Makefile.am
@@ -0,0 +1,13 @@
+## Process this file with automake to produce Makefile.in
+
+SUBDIRS = . src docs
+
+if BUILD_TESTS
+
+check-local: clean
+ @rm -f docs/tester-docs.xml
+
+endif
+
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/empty/src/Makefile.am b/tests/empty/src/Makefile.am
new file mode 100644
index 0000000..77f9241
--- /dev/null
+++ b/tests/empty/src/Makefile.am
@@ -0,0 +1,15 @@
+## Process this file with automake to produce Makefile.in
+
+if BUILD_TESTS
+
+noinst_LTLIBRARIES = libtester.la
+
+libtester_la_SOURCES = tester.c tester.h
+#libtester_la_LIBADD = $(TEST_DEPS_LIBS)
+
+AM_CPPFLAGS = $(TEST_DEPS_CFLAGS)
+
+endif
+
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/fail/Makefile.am b/tests/fail/Makefile.am
new file mode 100644
index 0000000..ad34ec6
--- /dev/null
+++ b/tests/fail/Makefile.am
@@ -0,0 +1,12 @@
+## Process this file with automake to produce Makefile.in
+
+SUBDIRS = . src docs
+
+if BUILD_TESTS
+
+check-local: clean
+
+endif
+
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/fail/src/Makefile.am b/tests/fail/src/Makefile.am
new file mode 100644
index 0000000..77f9241
--- /dev/null
+++ b/tests/fail/src/Makefile.am
@@ -0,0 +1,15 @@
+## Process this file with automake to produce Makefile.in
+
+if BUILD_TESTS
+
+noinst_LTLIBRARIES = libtester.la
+
+libtester_la_SOURCES = tester.c tester.h
+#libtester_la_LIBADD = $(TEST_DEPS_LIBS)
+
+AM_CPPFLAGS = $(TEST_DEPS_CFLAGS)
+
+endif
+
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/gobject.sh b/tests/gobject.sh
index 9150179..97cf356 100755
--- a/tests/gobject.sh
+++ b/tests/gobject.sh
@@ -2,7 +2,5 @@
set -e
-make -C `dirname $0`/gobject/src/ all
-
gtkdoctest.sh gobject
sanity.sh gobject
diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am
new file mode 100644
index 0000000..7eecd38
--- /dev/null
+++ b/tests/gobject/Makefile.am
@@ -0,0 +1,13 @@
+## Process this file with automake to produce Makefile.in
+
+SUBDIRS = . src docs
+
+if BUILD_TESTS
+
+check-local: clean
+
+endif
+
+EXTRA_DIST = examples/gobject.c
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/program/Makefile.am b/tests/program/Makefile.am
new file mode 100644
index 0000000..1653011
--- /dev/null
+++ b/tests/program/Makefile.am
@@ -0,0 +1,11 @@
+## Process this file with automake to produce Makefile.in
+
+SUBDIRS = . src docs
+
+if BUILD_TESTS
+
+check-local: clean
+
+endif
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/program/src/Makefile.am b/tests/program/src/Makefile.am
new file mode 100644
index 0000000..041a70c
--- /dev/null
+++ b/tests/program/src/Makefile.am
@@ -0,0 +1,10 @@
+## Process this file with automake to produce Makefile.in
+
+if BUILD_TESTS
+
+noinst_PROGRAMS = test-program
+
+endif
+
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/repro/Makefile.am b/tests/repro/Makefile.am
new file mode 100644
index 0000000..ad34ec6
--- /dev/null
+++ b/tests/repro/Makefile.am
@@ -0,0 +1,12 @@
+## Process this file with automake to produce Makefile.in
+
+SUBDIRS = . src docs
+
+if BUILD_TESTS
+
+check-local: clean
+
+endif
+
+
+-include $(top_srcdir)/git.mk
diff --git a/tests/repro/src/Makefile.am b/tests/repro/src/Makefile.am
new file mode 100644
index 0000000..77f9241
--- /dev/null
+++ b/tests/repro/src/Makefile.am
@@ -0,0 +1,15 @@
+## Process this file with automake to produce Makefile.in
+
+if BUILD_TESTS
+
+noinst_LTLIBRARIES = libtester.la
+
+libtester_la_SOURCES = tester.c tester.h
+#libtester_la_LIBADD = $(TEST_DEPS_LIBS)
+
+AM_CPPFLAGS = $(TEST_DEPS_CFLAGS)
+
+endif
+
+
+-include $(top_srcdir)/git.mk