From c4f0ff9d772f0726927bc92665f8fbe691ea1f41 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 14 May 2013 23:51:37 -0400 Subject: [PATCH] Install the other a11y tests as well --- tests/a11y/Makefile.am | 21 ++++++++++++++++----- tests/a11y/a11ychildren.test.in | 4 ++++ tests/a11y/a11yderive.test.in | 4 ++++ tests/a11y/a11ytext.test.in | 4 ++++ tests/a11y/a11ytree.test.in | 4 ++++ tests/a11y/a11yutil.test.in | 4 ++++ tests/a11y/a11yvalue.test.in | 4 ++++ 7 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 tests/a11y/a11ychildren.test.in create mode 100644 tests/a11y/a11yderive.test.in create mode 100644 tests/a11y/a11ytext.test.in create mode 100644 tests/a11y/a11ytree.test.in create mode 100644 tests/a11y/a11yutil.test.in create mode 100644 tests/a11y/a11yvalue.test.in diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am index 42ff568f94..47b9a96b22 100644 --- a/tests/a11y/Makefile.am +++ b/tests/a11y/Makefile.am @@ -77,7 +77,7 @@ testdata = \ if BUILDOPT_INSTALL_TESTS insttestdir=$(pkglibexecdir)/installed-tests -insttest_PROGRAMS = accessibility-dump +insttest_PROGRAMS = $(TEST_PROGS) a11ytestdir = $(insttestdir)/a11ytests a11ytest_DATA = $(testdata) @@ -86,14 +86,25 @@ substitutions = \ -e s,@pkglibexecdir\@,$(pkglibexecdir),g \ $(NULL) -a11ytests.test: a11ytests.test.in Makefile +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) + +test_files = $(test_in_files:.test.in=.test) + +$(test_files): %.test: %.test.in $(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@ -EXTRA_DIST += \ - a11ytests.test.in +EXTRA_DIST += $(test_in_files) testmetadir = $(datadir)/installed-tests/$(PACKAGE) -testmeta_DATA = a11ytests.test +testmeta_DATA = $(test_files) endif -include $(top_srcdir)/git.mk diff --git a/tests/a11y/a11ychildren.test.in b/tests/a11y/a11ychildren.test.in new file mode 100644 index 0000000000..927cfe32b7 --- /dev/null +++ b/tests/a11y/a11ychildren.test.in @@ -0,0 +1,4 @@ +[Test] +Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/children" +Type=session + diff --git a/tests/a11y/a11yderive.test.in b/tests/a11y/a11yderive.test.in new file mode 100644 index 0000000000..665b2e901a --- /dev/null +++ b/tests/a11y/a11yderive.test.in @@ -0,0 +1,4 @@ +[Test] +Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/derive" +Type=session + diff --git a/tests/a11y/a11ytext.test.in b/tests/a11y/a11ytext.test.in new file mode 100644 index 0000000000..c3435edb2a --- /dev/null +++ b/tests/a11y/a11ytext.test.in @@ -0,0 +1,4 @@ +[Test] +Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/text" +Type=session + diff --git a/tests/a11y/a11ytree.test.in b/tests/a11y/a11ytree.test.in new file mode 100644 index 0000000000..390d1a5165 --- /dev/null +++ b/tests/a11y/a11ytree.test.in @@ -0,0 +1,4 @@ +[Test] +Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/tree-relationships" +Type=session + diff --git a/tests/a11y/a11yutil.test.in b/tests/a11y/a11yutil.test.in new file mode 100644 index 0000000000..9140b9fa1a --- /dev/null +++ b/tests/a11y/a11yutil.test.in @@ -0,0 +1,4 @@ +[Test] +Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/util" +Type=session + diff --git a/tests/a11y/a11yvalue.test.in b/tests/a11y/a11yvalue.test.in new file mode 100644 index 0000000000..ddc16e24a5 --- /dev/null +++ b/tests/a11y/a11yvalue.test.in @@ -0,0 +1,4 @@ +[Test] +Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/value" +Type=session +