summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-option-for-installed-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-option-for-installed-tests.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-option-for-installed-tests.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-option-for-installed-tests.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-option-for-installed-tests.patch
index 1c0e1f8171..bf5e57249c 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-option-for-installed-tests.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-option-for-installed-tests.patch
@@ -1,7 +1,7 @@
1From 24867db22a5cc35e7643bc218e959ce56c306aca Mon Sep 17 00:00:00 2001 1From cf8077a7e3ab0ae236ebde79b7fc0b02eac658de Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <crg7475@mailbox.org> 2From: Carlos Rafael Giani <crg7475@mailbox.org>
3Date: Fri, 25 Oct 2019 00:06:26 +0200 3Date: Fri, 25 Oct 2019 00:06:26 +0200
4Subject: [PATCH 3/4] meson: Add option for installed tests 4Subject: [PATCH 3/3] meson: Add option for installed tests
5 5
6This adds an option for producing installed versions of the unit tests. 6This adds an option for producing installed versions of the unit tests.
7These versions don't need meson to run (only a small shell script). This 7These versions don't need meson to run (only a small shell script). This
@@ -23,7 +23,7 @@ Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
23 23
24diff --git a/build-aux/gen-installed-test-desc.py b/build-aux/gen-installed-test-desc.py 24diff --git a/build-aux/gen-installed-test-desc.py b/build-aux/gen-installed-test-desc.py
25new file mode 100644 25new file mode 100644
26index 0000000..69e8a0f 26index 000000000..69e8a0faf
27--- /dev/null 27--- /dev/null
28+++ b/build-aux/gen-installed-test-desc.py 28+++ b/build-aux/gen-installed-test-desc.py
29@@ -0,0 +1,18 @@ 29@@ -0,0 +1,18 @@
@@ -47,7 +47,7 @@ index 0000000..69e8a0f
47+write_template(args.output, build_template(args.test_execdir, args.testname)) 47+write_template(args.output, build_template(args.test_execdir, args.testname))
48diff --git a/build-aux/gen-installed-test-shscript.py b/build-aux/gen-installed-test-shscript.py 48diff --git a/build-aux/gen-installed-test-shscript.py b/build-aux/gen-installed-test-shscript.py
49new file mode 100644 49new file mode 100644
50index 0000000..5da86fb 50index 000000000..5da86fb37
51--- /dev/null 51--- /dev/null
52+++ b/build-aux/gen-installed-test-shscript.py 52+++ b/build-aux/gen-installed-test-shscript.py
53@@ -0,0 +1,25 @@ 53@@ -0,0 +1,25 @@
@@ -77,7 +77,7 @@ index 0000000..5da86fb
77+write_template(args.output, build_template(args.test_execdir, args.testname)) 77+write_template(args.output, build_template(args.test_execdir, args.testname))
78+os.chmod(args.output, 0o755) 78+os.chmod(args.output, 0o755)
79diff --git a/meson_options.txt b/meson_options.txt 79diff --git a/meson_options.txt b/meson_options.txt
80index 72c3997..346c423 100644 80index 72c3997e2..346c423d4 100644
81--- a/meson_options.txt 81--- a/meson_options.txt
82+++ b/meson_options.txt 82+++ b/meson_options.txt
83@@ -15,6 +15,8 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso 83@@ -15,6 +15,8 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso
@@ -90,7 +90,7 @@ index 72c3997..346c423 100644
90 # Feature options 90 # Feature options
91 option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') 91 option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries')
92diff --git a/tests/check/meson.build b/tests/check/meson.build 92diff --git a/tests/check/meson.build b/tests/check/meson.build
93index 372ea41..bb0dcfa 100644 93index a617cf159..e629131c5 100644
94--- a/tests/check/meson.build 94--- a/tests/check/meson.build
95+++ b/tests/check/meson.build 95+++ b/tests/check/meson.build
96@@ -120,11 +120,17 @@ if add_languages('cpp', native: false, required: false) 96@@ -120,11 +120,17 @@ if add_languages('cpp', native: false, required: false)
@@ -168,7 +168,7 @@ index 372ea41..bb0dcfa 100644
168 env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '') 168 env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
169diff --git a/tests/files/testfile b/tests/files/testfile 169diff --git a/tests/files/testfile b/tests/files/testfile
170new file mode 100644 170new file mode 100644
171index 0000000..89954e0 171index 000000000..89954e0e2
172--- /dev/null 172--- /dev/null
173+++ b/tests/files/testfile 173+++ b/tests/files/testfile
174@@ -0,0 +1,80 @@ 174@@ -0,0 +1,80 @@
@@ -253,5 +253,5 @@ index 0000000..89954e0
253+................................................................................ 253+................................................................................
254+................................................................................ 254+................................................................................
255-- 255--
2562.28.0 2562.29.2
257 257