Make sure we dist all testsuite ingredients

This commit is contained in:
Matthias Clasen
2013-05-28 18:08:42 -04:00
parent 92823b2201
commit 0d768ee8a8
6 changed files with 38 additions and 35 deletions

View File

@ -75,6 +75,18 @@ testdata = \
combos.ui combos.txt \
$(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 \
$(NULL)
EXTRA_DIST += $(test_in_files)
if BUILDOPT_INSTALL_TESTS
insttestdir=$(pkglibexecdir)/installed-tests
insttest_PROGRAMS = $(TEST_PROGS)
@ -86,23 +98,11 @@ substitutions = \
-e s,@pkglibexecdir\@,$(pkglibexecdir),g \
$(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 \
$(NULL)
test_files = $(test_in_files:.test.in=.test)
$(test_files): %.test: %.test.in
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
EXTRA_DIST += $(test_in_files)
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = $(test_files)
endif