From 42945f0d74e5920da07d60a13f9011980c80a6c9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 2 Jun 2014 22:46:23 -0400 Subject: [PATCH] Run reftests repeatedly Install test files that run the reftests in the Adwaita:dark and HighConstrast themes. It works, so why not. --- testsuite/reftests/Makefile.am | 7 +++++-- testsuite/reftests/reftests-dark.test.in | 3 +++ testsuite/reftests/reftests-hc.test.in | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 testsuite/reftests/reftests-dark.test.in create mode 100644 testsuite/reftests/reftests-hc.test.in diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am index c7f87b6856..330da63d56 100644 --- a/testsuite/reftests/Makefile.am +++ b/testsuite/reftests/Makefile.am @@ -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 diff --git a/testsuite/reftests/reftests-dark.test.in b/testsuite/reftests/reftests-dark.test.in new file mode 100644 index 0000000000..da32518dad --- /dev/null +++ b/testsuite/reftests/reftests-dark.test.in @@ -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 diff --git a/testsuite/reftests/reftests-hc.test.in b/testsuite/reftests/reftests-hc.test.in new file mode 100644 index 0000000000..c69d2490c0 --- /dev/null +++ b/testsuite/reftests/reftests-hc.test.in @@ -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