summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch')
-rw-r--r--meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch b/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch
new file mode 100644
index 0000000000..5c557ba689
--- /dev/null
+++ b/meta/recipes-gnome/gtk-engines/gtk-engines-2.20.2/substitute-tests.patch
@@ -0,0 +1,37 @@
1Upstream-Status: Pending
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4diff -Nurd gtk-engines-2.20.2/configure.ac gtk-engines-2.20.2/configure.ac
5--- gtk-engines-2.20.2/configure.ac 2010-10-01 15:42:37.000000000 +0300
6+++ gtk-engines-2.20.2/configure.ac 2013-08-20 02:50:27.930510565 +0300
7@@ -166,6 +166,9 @@
8
9 AC_SUBST(DEVELOPMENT_CFLAGS)
10
11+AC_SUBST([exported_symbols_tests], [[$(EXPORTED_SYMBOLS_TESTS)]])
12+AC_SUBST([torture_test_tests], [[$(TORTURE_TEST_TESTS)]])
13+
14 AM_CONFIG_HEADER([engines/support/config.h])
15
16 AC_CONFIG_FILES([
17diff -Nurd gtk-engines-2.20.2/test/Makefile.am gtk-engines-2.20.2/test/Makefile.am
18--- gtk-engines-2.20.2/test/Makefile.am 2010-09-19 18:18:21.000000000 +0300
19+++ gtk-engines-2.20.2/test/Makefile.am 2013-08-20 02:50:36.842510865 +0300
20@@ -66,7 +66,7 @@
21 # Prefix with exported_
22 EXPORTED_SYMBOLS_TESTS = $(patsubst %,exported_%,$(BUILD_ENGINES))
23
24-TESTS += $(EXPORTED_SYMBOLS_TESTS)
25+TESTS += @exported_symbols_tests@
26
27
28 #############################################################
29@@ -88,7 +88,7 @@
30 TORTURE_TEST_TESTS = torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES))
31
32 # Add TORTURE_TEST_ENGINES to list of tests
33-TESTS += $(TORTURE_TEST_TESTS)
34+TESTS += @torture_test_tests@
35
36 # Possible other tests:
37 # - An extensive theme switch tests that loads/unloads the engine