diff options
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch b/meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch index 9b4ded14d5..b98f933dae 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch +++ b/meta/recipes-core/glib-2.0/glib-2.0/Enable-more-tests-while-cross-compiling.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 310dfe1bdd16d4b254732fcc202c6211629bc7b6 Mon Sep 17 00:00:00 2001 | 1 | From d762907d33b81cf7469b5696c87f2188d2050afb Mon Sep 17 00:00:00 2001 |
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | 2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> |
3 | Date: Mon, 9 Nov 2015 11:07:27 +0200 | 3 | Date: Mon, 9 Nov 2015 11:07:27 +0200 |
4 | Subject: [PATCH] Enable more tests while cross-compiling | 4 | Subject: [PATCH 06/10] Enable more tests while cross-compiling |
5 | 5 | ||
6 | Upstream disables a few tests while cross-compiling because their build requires | 6 | Upstream disables a few tests while cross-compiling because their build requires |
7 | running other built binaries. This usually makes sense but in the cross-compile | 7 | running other built binaries. This usually makes sense but in the cross-compile |
@@ -9,16 +9,17 @@ case we can depend on glib-2.0-native. | |||
9 | 9 | ||
10 | Upstream-Status: Inappropriate [OE specific] | 10 | Upstream-Status: Inappropriate [OE specific] |
11 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | 11 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> |
12 | |||
12 | --- | 13 | --- |
13 | gio/tests/Makefile.am | 8 +++----- | 14 | gio/tests/Makefile.am | 10 ++++++---- |
14 | tests/gobject/Makefile.am | 8 +++----- | 15 | tests/gobject/Makefile.am | 8 +++++--- |
15 | 2 files changed, 6 insertions(+), 10 deletions(-) | 16 | 2 files changed, 11 insertions(+), 7 deletions(-) |
16 | 17 | ||
17 | diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am | 18 | diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am |
18 | index 868873f..533e454 100644 | 19 | index acc1da4..9176640 100644 |
19 | --- a/gio/tests/Makefile.am | 20 | --- a/gio/tests/Makefile.am |
20 | +++ b/gio/tests/Makefile.am | 21 | +++ b/gio/tests/Makefile.am |
21 | @@ -503,10 +503,9 @@ test_programs += \ | 22 | @@ -516,10 +516,9 @@ test_programs += \ |
22 | endif | 23 | endif |
23 | 24 | ||
24 | # ----------------------------------------------------------------------------- | 25 | # ----------------------------------------------------------------------------- |
@@ -31,7 +32,7 @@ index 868873f..533e454 100644 | |||
31 | test_programs += resources | 32 | test_programs += resources |
32 | resources_SOURCES = resources.c | 33 | resources_SOURCES = resources.c |
33 | nodist_resources_SOURCES = test_resources.c test_resources2.c test_resources2.h | 34 | nodist_resources_SOURCES = test_resources.c test_resources2.c test_resources2.h |
34 | @@ -528,7 +527,11 @@ if !ENABLE_INSTALLED_TESTS | 35 | @@ -543,7 +542,11 @@ if !ENABLE_INSTALLED_TESTS |
35 | libresourceplugin_la_LDFLAGS += -rpath / | 36 | libresourceplugin_la_LDFLAGS += -rpath / |
36 | endif | 37 | endif |
37 | 38 | ||
@@ -41,18 +42,18 @@ index 868873f..533e454 100644 | |||
41 | +glib_compile_resources=glib-compile-resources | 42 | +glib_compile_resources=glib-compile-resources |
42 | +endif | 43 | +endif |
43 | 44 | ||
44 | resources.o: test_resources2.h | 45 | test-generated.txt: test1.txt |
45 | test_resources.c: test2.gresource.xml Makefile $(shell $(glib_compile_resources) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/test2.gresource.xml) | 46 | $(AM_V_GEN) echo "Generated" > $@ && \ |
46 | @@ -545,7 +548,6 @@ test.gresource: test.gresource.xml Makefile $(shell $(glib_compile_resources) -- | 47 | @@ -564,7 +567,6 @@ test.gresource: test.gresource.xml Makefile $(shell $(glib_compile_resources) -- |
47 | 48 | ||
48 | EXTRA_DIST += test.gresource.xml test1.txt test2.gresource.xml test2.txt test3.gresource.xml test3.txt test4.gresource.xml | 49 | EXTRA_DIST += test.gresource.xml test1.txt test2.gresource.xml test2.txt test3.gresource.xml test3.txt test4.gresource.xml |
49 | CLEANFILES += test-generated.txt test_resources.c test_resources2.[ch] plugin_resources.c test.gresource | 50 | CLEANFILES += test-generated.txt test_resources.c test_resources2.[ch] plugin_resources.c test.gresource |
50 | -endif # !CROSS_COMPILING | 51 | -endif # !CROSS_COMPILING |
51 | 52 | ||
52 | BUILT_SOURCES += giotypefuncs.c | 53 | BUILT_SOURCES += giotypefuncs.inc |
53 | 54 | ||
54 | diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am | 55 | diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am |
55 | index 16f2827..4c2208e 100644 | 56 | index 656941d..68555ff 100644 |
56 | --- a/tests/gobject/Makefile.am | 57 | --- a/tests/gobject/Makefile.am |
57 | +++ b/tests/gobject/Makefile.am | 58 | +++ b/tests/gobject/Makefile.am |
58 | @@ -48,10 +48,13 @@ if ENABLE_TIMELOOP | 59 | @@ -48,10 +48,13 @@ if ENABLE_TIMELOOP |
@@ -79,3 +80,6 @@ index 16f2827..4c2208e 100644 | |||
79 | 80 | ||
80 | dist-hook: $(BUILT_EXTRA_DIST) | 81 | dist-hook: $(BUILT_EXTRA_DIST) |
81 | files='$(BUILT_EXTRA_DIST)'; \ | 82 | files='$(BUILT_EXTRA_DIST)'; \ |
83 | -- | ||
84 | 2.14.1 | ||
85 | |||