tests: run sanity.sh from the actual integration tests
[gtk-doc.git] / tests / Makefile.am
blobc1d35af5663c1a6b3746d396bd94b349b9fdd276
1 ## Process this file with automake to produce Makefile.in
3 if BUILD_TESTS
5 TESTS = \
6   check.py common.py mk_to_db.py mkhtml2.py \
7   tools.sh \
8   annotations.sh bugs.sh empty.sh fail.sh gobject.sh program.sh
10 TESTS_ENVIRONMENT = \
11         BUILDDIR=$(abs_builddir) \
12         SRCDIR=$(abs_srcdir) \
13         ABS_TOP_BUILDDIR=$(abs_top_builddir) \
14         ABS_TOP_SRCDIR=$(abs_top_srcdir) \
15         PATH=$(abs_top_builddir):$(srcdir):$(PATH) \
16         PYTHONPATH=$(abs_top_builddir):$(abs_top_srcdir):$(PYTHONPATH) \
17         GLIB_PREFIX="$(glib_prefix)"
19 TEST_EXTENSIONS = .py
20 PY_LOG_COMPILER = $(PYTHON)
22 endif
24 EXTRA_DIST = gtkdoctest.sh $(TESTS)
26 snapshot:
27         @for dir in $(SUBDIRS); do \
28     rm -rf $$dir/docs/html.ref; \
29           if test -d $$dir/docs/html; then \
30       cp -r $$dir/docs/html $$dir/docs/html.ref; \
31     fi; \
32     rm -rf $$dir/docs/xml.ref; \
33           if test -d $$dir/docs/xml; then \
34       cp -r $$dir/docs/xml $$dir/docs/xml.ref; \
35     fi; \
36         done
38 .PHONY: snapshot
40 -include $(top_srcdir)/git.mk