summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 1c332e2dfb57811178314d405e8f7665a8c4557d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
tests =  \
	conversion.py \
	enum.py \
	gtype.py \
	signal.py

PYTHONPATH = $(top_builddir):$(top_builddir)/gobject:$(top_srcdir):$(top_srcdir)/gtk

check-local: $(top_srcdir)/gtk/__init__.py
	@if ! test -e $(top_builddir)/gtk/__init__.py; then cp $(top_srcdir)/gtk/__init__.py $(top_builddir)/gtk/__init__.py; fi
	@PYTHONPATH=$(PYTHONPATH) DIST_CHECK=1 $(PYTHON) $(srcdir)/runtests.py
	@if test "$(top_builddir)" != "$(top_srcdir)"; then rm -f $(top_builddir)/gtk/__init__.py*; fi
	@rm -fr *.pyc 

EXTRA_DIST = $(tests) common.py runtests.py