summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 5c2590640b7cbf8efe92decde5b5e2832ed05413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
EXTRA_DIST = $(tests) common.py runtests.py testmodule.py leak.glade

tests =  \
	test_actiongroup.py \
	test_api.py \
	test_container.py
	test_conversion.py \
	test_dialog.py \
	test_enum.py \
	test_gdk.py \
	test_glade.py \
	test_liststore.py
	test_pango.py \
	test_radiobutton.py \
	test_style.py \
	test_textview.py \
	test_treeview.py

GTK_PY_FILES = __init__.py _lazyutils.py compat.py deprecation.py keysyms.py

check-local: $(top_srcdir)/gtk/__init__.py
	@if test "$(top_builddir)" != "$(top_srcdir)"; then \
	   for gtk_py in $(GTK_PY_FILES) ; do \
	     cp $(top_srcdir)/gtk/$${gtk_py} $(top_builddir)/gtk/; \
	   done \
	fi
	@$(PYTHON) $(srcdir)/runtests.py $(top_builddir) $(top_srcdir)
	@if test "$(top_builddir)" != "$(top_srcdir)"; then \
	   for gtk_py in $(GTK_PY_FILES) ; do \
	     rm -f $(top_builddir)/gtk/$${gtk_py}*; \
           done \
	fi
	@rm -fr *.pyc