Run reftests repeatedly

Install test files that run the reftests in the
Adwaita:dark and HighConstrast themes. It works,
so why not.
This commit is contained in:
Matthias Clasen 2014-06-02 22:46:23 -04:00
parent 7f8d0552f0
commit 42945f0d74
3 changed files with 11 additions and 2 deletions

View File

@ -372,13 +372,16 @@ substitutions = \
-e s,@libexecdir\@,$(libexecdir),g \
$(NULL)
reftests.test: reftests.test.in Makefile
%.test: %.test.in
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
DISTCLEANFILES = reftests.test
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = reftests.test
testmeta_DATA = \
reftests.test \
reftests-dark.test \
reftests-hc.test
endif
-include $(top_srcdir)/git.mk

View File

@ -0,0 +1,3 @@
[Test]
Exec=/bin/sh -c "GTK_THEME=Adwaita:dark @libexecdir@/installed-tests/gtk+/gtk-reftest -k --verbose --output $(pwd) --directory @libexecdir@/installed-tests/gtk+/reftests"
Type=session-exclusive

View File

@ -0,0 +1,3 @@
[Test]
Exec=/bin/sh -c "GTK_THEME=HighContrast @libexecdir@/installed-tests/gtk+/gtk-reftest -k --verbose --output $(pwd) --directory @libexecdir@/installed-tests/gtk+/reftests"
Type=session-exclusive