summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch
index a990940cc6..ba8e410669 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch
@@ -1,4 +1,4 @@
1From 31dea17a1d5de0003719a875a1089df43a50219a Mon Sep 17 00:00:00 2001 1From bfb530d2f0761f28c2645e2c45de5147b0528e4d Mon Sep 17 00:00:00 2001
2From: Jose Quaresma <quaresma.jose@gmail.com> 2From: Jose Quaresma <quaresma.jose@gmail.com>
3Date: Sun, 11 Apr 2021 19:48:13 +0100 3Date: Sun, 11 Apr 2021 19:48:13 +0100
4Subject: [PATCH] tests: add support for install the tests 4Subject: [PATCH] tests: add support for install the tests
@@ -19,10 +19,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
19 create mode 100644 tests/check/template.test.in 19 create mode 100644 tests/check/template.test.in
20 20
21diff --git a/meson.build b/meson.build 21diff --git a/meson.build b/meson.build
22index efcf189..c97d9a8 100644 22index ba50005..09c7212 100644
23--- a/meson.build 23--- a/meson.build
24+++ b/meson.build 24+++ b/meson.build
25@@ -624,6 +624,10 @@ if bashcomp_dep.found() 25@@ -664,6 +664,10 @@ if bashcomp_dep.found()
26 endif 26 endif
27 endif 27 endif
28 28
@@ -34,7 +34,7 @@ index efcf189..c97d9a8 100644
34 34
35 pkgconfig = import('pkgconfig') 35 pkgconfig = import('pkgconfig')
36diff --git a/meson_options.txt b/meson_options.txt 36diff --git a/meson_options.txt b/meson_options.txt
37index 340fb58..5b87f68 100644 37index 39255cf..78af552 100644
38--- a/meson_options.txt 38--- a/meson_options.txt
39+++ b/meson_options.txt 39+++ b/meson_options.txt
40@@ -16,6 +16,7 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso 40@@ -16,6 +16,7 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso
@@ -46,10 +46,10 @@ index 340fb58..5b87f68 100644
46 # Feature options 46 # Feature options
47 option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') 47 option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries')
48diff --git a/tests/check/meson.build b/tests/check/meson.build 48diff --git a/tests/check/meson.build b/tests/check/meson.build
49index e9501fe..08f8fd8 100644 49index 4cc4618..f290e2e 100644
50--- a/tests/check/meson.build 50--- a/tests/check/meson.build
51+++ b/tests/check/meson.build 51+++ b/tests/check/meson.build
52@@ -125,10 +125,16 @@ test_defines = [ 52@@ -128,10 +128,16 @@ test_defines = [
53 '-UG_DISABLE_ASSERT', 53 '-UG_DISABLE_ASSERT',
54 '-UG_DISABLE_CAST_CHECKS', 54 '-UG_DISABLE_CAST_CHECKS',
55 '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_STATE_IGNORE_ELEMENTS"', 55 '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_STATE_IGNORE_ELEMENTS"',
@@ -67,7 +67,7 @@ index e9501fe..08f8fd8 100644
67 # sanity checking 67 # sanity checking
68 if get_option('check').disabled() 68 if get_option('check').disabled()
69 if get_option('tests').enabled() 69 if get_option('tests').enabled()
70@@ -151,6 +157,8 @@ foreach t : core_tests 70@@ -154,6 +160,8 @@ foreach t : core_tests
71 include_directories : [configinc], 71 include_directories : [configinc],
72 link_with : link_with_libs, 72 link_with : link_with_libs,
73 dependencies : gst_deps + test_deps, 73 dependencies : gst_deps + test_deps,
@@ -76,7 +76,7 @@ index e9501fe..08f8fd8 100644
76 ) 76 )
77 77
78 env = environment() 78 env = environment()
79@@ -162,6 +170,18 @@ foreach t : core_tests 79@@ -165,6 +173,18 @@ foreach t : core_tests
80 env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner') 80 env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner')
81 env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer') 81 env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer')
82 82