Make sure we dist all testsuite ingredients
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user