forked from AuroraMiddleware/gtk
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:
parent
7f8d0552f0
commit
42945f0d74
@ -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
|
||||
|
3
testsuite/reftests/reftests-dark.test.in
Normal file
3
testsuite/reftests/reftests-dark.test.in
Normal 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
|
3
testsuite/reftests/reftests-hc.test.in
Normal file
3
testsuite/reftests/reftests-hc.test.in
Normal 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
|
Loading…
Reference in New Issue
Block a user