gtk2/testsuite/a11y/Makefile.am

126 lines
2.7 KiB
Makefile
Raw Normal View History

include $(top_srcdir)/Makefile.decl
2013-05-15 03:16:56 +00:00
NULL =
SUBDIRS = state
check_PROGRAMS = $(TEST_PROGS)
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
-I$(top_srcdir)/gdk \
-DGDK_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \
-DGTK_VERSION=\"$(GTK_VERSION)\"\
$(GTK_DEBUG_FLAGS) \
$(GTK_DEP_CFLAGS)
LDADD = \
$(top_builddir)/gtk/libgtk-4.la \
$(GTK_DEP_LIBS)
# work around random file systems showing up in the file chooser,
# breaking the 'pickers' test
TESTS_ENVIRONMENT = \
GIO_USE_VOLUME_MONITOR=unix \
GSETTINGS_BACKEND=memory \
GTK_CSD=1 \
G_ENABLE_DIAGNOSTIC=0
TEST_PROGS += accessibility-dump
TEST_PROGS += tree-performance
TEST_PROGS += text
2011-06-29 04:35:24 +00:00
TEST_PROGS += children
TEST_PROGS += derive
TEST_PROGS += value
TEST_PROGS += misc
TEST_PROGS += tree-relationships
TEST_PROGS += util
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 \
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 \
label.ui label.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 \
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-12-20 14:06:33 +00:00
menubutton.ui menubutton.txt \
menubutton2.ui menubutton2.txt \
menubutton3.ui menubutton3.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 \
stack.ui stack.txt \
2013-07-01 02:30:15 +00:00
headerbar.ui headerbar.txt \
2014-01-14 04:31:05 +00:00
tree.ui tree.txt \
actionbar.ui actionbar.txt \
tooltips.ui tooltips.txt \
2013-05-15 03:16:56 +00:00
$(NULL)
test_in_files = \
a11ytests.test.in \
a11ychildren.test.in \
a11ytree.test.in \
a11yvalue.test.in \
a11yderive.test.in \
a11ytext.test.in \
a11yutil.test.in \
a11ymisc.test.in \
$(NULL)
EXTRA_DIST += $(test_in_files) $(testdata)
2013-05-15 03:16:56 +00:00
if BUILDOPT_INSTALL_TESTS
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)
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,@libexecdir\@,$(libexecdir),g \
2013-05-15 03:16:56 +00:00
$(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 $@
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