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
|
||||
|
||||
@ -25,6 +25,8 @@ LDADD = \
|
||||
TEST_PROGS += api
|
||||
test_in_files += api.test.in
|
||||
|
||||
EXTRA_DIST += $(test_in_files)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(pkglibexecdir)/installed-tests/css
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
@ -38,8 +40,6 @@ 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)/css
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
@ -348,6 +348,8 @@ test_data = \
|
||||
widget-style-property.css \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += $(test_in_files) $(test_data)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(pkglibexecdir)/installed-tests/css/parser
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
@ -37,14 +37,7 @@ keysyms_LDADD = $(progs_ldadd)
|
||||
|
||||
CLEANFILES = \
|
||||
cairosurface.png \
|
||||
gdksurface.png
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(pkglibexecdir)/installed-tests
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
substitutions = \
|
||||
-e s,@pkglibexecdir\@,$(pkglibexecdir),g \
|
||||
gdksurface.png \
|
||||
$(NULL)
|
||||
|
||||
test_in_files = \
|
||||
@ -54,13 +47,21 @@ test_in_files = \
|
||||
keysyms.test.in \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += $(test_in_files)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(pkglibexecdir)/installed-tests
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
substitutions = \
|
||||
-e s,@pkglibexecdir\@,$(pkglibexecdir),g \
|
||||
$(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
|
||||
|
||||
@ -2,8 +2,6 @@ include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
SUBDIRS =
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
@ -221,8 +219,10 @@ window_SOURCES = window.c
|
||||
window_LDADD = $(progs_ldadd)
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(test_in_files) \
|
||||
file-chooser-test-dir/empty \
|
||||
file-chooser-test-dir/text.txt
|
||||
file-chooser-test-dir/text.txt \
|
||||
$(NULL)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(pkglibexecdir)/installed-tests
|
||||
@ -237,8 +237,6 @@ 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
|
||||
|
||||
@ -282,6 +282,11 @@ testdata = \
|
||||
window-default-size.ui \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += \
|
||||
(testdata) \
|
||||
reftests.test.in \
|
||||
$(NULL)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(pkglibexecdir)/installed-tests
|
||||
insttest_PROGRAMS = gtk-reftest
|
||||
@ -296,9 +301,6 @@ substitutions = \
|
||||
reftests.test: reftests.test.in Makefile
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
EXTRA_DIST += \
|
||||
reftests.test.in
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = reftests.test
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user