2011-06-19 04:11:38 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2013-05-15 03:16:56 +00:00
|
|
|
NULL =
|
2011-06-19 04:11:38 +00:00
|
|
|
|
|
|
|
check_PROGRAMS = $(TEST_PROGS)
|
|
|
|
|
2011-07-07 12:49:26 +00:00
|
|
|
AM_CPPFLAGS = \
|
2011-06-22 21:39:38 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
-I$(top_srcdir)/gdk \
|
|
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
|
|
-DGTK_DISABLE_DEPRECATED \
|
2011-07-09 03:21:53 +00:00
|
|
|
-DGTK_VERSION=\"$(GTK_VERSION)\"\
|
2011-06-22 21:39:38 +00:00
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(GTK_DEP_CFLAGS)
|
2011-06-19 04:11:38 +00:00
|
|
|
|
2011-06-23 17:07:50 +00:00
|
|
|
LDADD = \
|
2011-06-22 21:39:38 +00:00
|
|
|
$(top_builddir)/gdk/libgdk-3.la \
|
|
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
2011-06-19 04:11:38 +00:00
|
|
|
$(GTK_DEP_LIBS)
|
|
|
|
|
2011-11-21 18:05:47 +00:00
|
|
|
# work around random file systems showing up in the file chooser,
|
|
|
|
# breaking the 'pickers' test
|
|
|
|
TESTS_ENVIRONMENT = GIO_USE_VOLUME_MONITOR=unix
|
|
|
|
|
2011-06-23 17:07:50 +00:00
|
|
|
TEST_PROGS += accessibility-dump
|
|
|
|
|
2011-06-22 21:39:38 +00:00
|
|
|
TEST_PROGS += tree-performance
|
|
|
|
|
2011-06-23 17:07:50 +00:00
|
|
|
TEST_PROGS += text
|
|
|
|
|
2011-06-29 04:35:24 +00:00
|
|
|
TEST_PROGS += children
|
2011-06-23 17:07:50 +00:00
|
|
|
|
2012-12-27 17:02:26 +00:00
|
|
|
TEST_PROGS += derive
|
|
|
|
|
2012-12-03 22:07:23 +00:00
|
|
|
TEST_PROGS += value
|
|
|
|
|
2011-08-30 12:42:13 +00:00
|
|
|
# the focus test has no chance of working until
|
|
|
|
# all the idle handlers in gail are gone
|
|
|
|
#
|
|
|
|
# TEST_PROGS += focus
|
2011-07-03 16:16:43 +00:00
|
|
|
|
2012-02-11 03:46:43 +00:00
|
|
|
TEST_PROGS += tree-relationships
|
2011-11-26 22:08:09 +00:00
|
|
|
|
2011-07-09 03:21:53 +00:00
|
|
|
TEST_PROGS += util
|
|
|
|
|
2011-07-17 23:37:39 +00:00
|
|
|
noinst_PROGS = testfocus
|
|
|
|
|
2013-05-15 03:16:56 +00:00
|
|
|
testdata = \
|
2011-06-19 06:11:11 +00:00
|
|
|
hello-world.ui hello-world.txt \
|
|
|
|
mnemonic.ui mnemonic.txt \
|
2011-06-19 21:19:34 +00:00
|
|
|
accessible-name.ui accessible-name.txt \
|
2011-06-19 21:58:57 +00:00
|
|
|
notebook.ui notebook.txt \
|
2011-06-19 23:16:26 +00:00
|
|
|
range.ui range.txt \
|
|
|
|
link.ui link.txt \
|
2011-06-20 01:29:42 +00:00
|
|
|
text.ui text.txt \
|
2011-07-06 14:24:46 +00:00
|
|
|
buttons.ui buttons.txt \
|
2011-06-21 23:20:59 +00:00
|
|
|
colorchooser.ui colorchooser.txt \
|
2011-06-21 23:55:39 +00:00
|
|
|
about.ui about.txt \
|
2011-06-22 00:08:46 +00:00
|
|
|
messagedialog.ui messagedialog.txt \
|
2011-06-22 00:18:04 +00:00
|
|
|
expander.ui expander.txt \
|
2011-06-22 03:31:34 +00:00
|
|
|
assistant.ui assistant.txt \
|
2011-06-22 03:34:38 +00:00
|
|
|
pickers.ui pickers.txt \
|
2011-06-22 03:37:30 +00:00
|
|
|
lockbutton.ui lockbutton.txt \
|
2011-06-22 03:41:29 +00:00
|
|
|
spinner.ui spinner.txt \
|
2011-06-22 03:45:46 +00:00
|
|
|
progress.ui progress.txt \
|
2011-06-22 03:49:05 +00:00
|
|
|
infobar.ui infobar.txt \
|
2011-06-23 03:08:59 +00:00
|
|
|
calendar.ui calendar.txt \
|
2011-06-23 03:11:20 +00:00
|
|
|
statusbar.ui statusbar.txt \
|
2011-06-23 03:16:28 +00:00
|
|
|
paned.ui paned.txt \
|
2011-06-23 03:20:11 +00:00
|
|
|
iconview.ui iconview.txt \
|
2011-06-26 21:07:11 +00:00
|
|
|
entries.ui entries.txt \
|
2011-07-01 04:51:56 +00:00
|
|
|
scale-drawvalue.ui scale-drawvalue.txt \
|
2011-07-11 01:10:04 +00:00
|
|
|
placeholder-text.ui placeholder-text.txt \
|
2011-11-14 14:23:01 +00:00
|
|
|
menu.ui menu.txt \
|
2013-05-15 03:16:56 +00:00
|
|
|
combos.ui combos.txt \
|
2013-07-01 02:08:58 +00:00
|
|
|
listbox.ui listbox.txt \
|
2013-07-01 02:16:23 +00:00
|
|
|
stack.ui stack.txt \
|
2013-07-01 02:30:15 +00:00
|
|
|
headerbar.ui headerbar.txt \
|
2013-05-15 03:16:56 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-05-28 22:08:42 +00:00
|
|
|
test_in_files = \
|
|
|
|
a11ytests.test.in \
|
|
|
|
a11ychildren.test.in \
|
|
|
|
a11ytree.test.in \
|
|
|
|
a11yvalue.test.in \
|
|
|
|
a11yderive.test.in \
|
|
|
|
a11ytext.test.in \
|
|
|
|
a11yutil.test.in \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-06-21 18:05:21 +00:00
|
|
|
EXTRA_DIST += $(test_in_files) $(testdata)
|
2013-05-28 22:08:42 +00:00
|
|
|
|
2013-05-15 03:16:56 +00:00
|
|
|
if BUILDOPT_INSTALL_TESTS
|
|
|
|
insttestdir=$(pkglibexecdir)/installed-tests
|
2013-05-15 03:51:37 +00:00
|
|
|
insttest_PROGRAMS = $(TEST_PROGS)
|
2013-05-15 03:16:56 +00:00
|
|
|
|
|
|
|
a11ytestdir = $(insttestdir)/a11ytests
|
|
|
|
a11ytest_DATA = $(testdata)
|
|
|
|
|
|
|
|
substitutions = \
|
|
|
|
-e s,@pkglibexecdir\@,$(pkglibexecdir),g \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-05-15 03:51:37 +00:00
|
|
|
test_files = $(test_in_files:.test.in=.test)
|
|
|
|
|
|
|
|
$(test_files): %.test: %.test.in
|
2013-05-15 03:16:56 +00:00
|
|
|
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
|
|
|
|
2013-07-11 16:57:06 +00:00
|
|
|
DISTCLEANFILES = $(test_files)
|
|
|
|
|
2013-05-15 03:16:56 +00:00
|
|
|
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
2013-05-15 03:51:37 +00:00
|
|
|
testmeta_DATA = $(test_files)
|
2013-05-15 03:16:56 +00:00
|
|
|
endif
|
2013-01-24 22:35:30 +00:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|