diff options
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.patch | 16 |
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 @@ | |||
1 | From 24867db22a5cc35e7643bc218e959ce56c306aca Mon Sep 17 00:00:00 2001 | 1 | From cf8077a7e3ab0ae236ebde79b7fc0b02eac658de Mon Sep 17 00:00:00 2001 |
2 | From: Carlos Rafael Giani <crg7475@mailbox.org> | 2 | From: Carlos Rafael Giani <crg7475@mailbox.org> |
3 | Date: Fri, 25 Oct 2019 00:06:26 +0200 | 3 | Date: Fri, 25 Oct 2019 00:06:26 +0200 |
4 | Subject: [PATCH 3/4] meson: Add option for installed tests | 4 | Subject: [PATCH 3/3] meson: Add option for installed tests |
5 | 5 | ||
6 | This adds an option for producing installed versions of the unit tests. | 6 | This adds an option for producing installed versions of the unit tests. |
7 | These versions don't need meson to run (only a small shell script). This | 7 | These 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 | ||
24 | diff --git a/build-aux/gen-installed-test-desc.py b/build-aux/gen-installed-test-desc.py | 24 | diff --git a/build-aux/gen-installed-test-desc.py b/build-aux/gen-installed-test-desc.py |
25 | new file mode 100644 | 25 | new file mode 100644 |
26 | index 0000000..69e8a0f | 26 | index 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)) |
48 | diff --git a/build-aux/gen-installed-test-shscript.py b/build-aux/gen-installed-test-shscript.py | 48 | diff --git a/build-aux/gen-installed-test-shscript.py b/build-aux/gen-installed-test-shscript.py |
49 | new file mode 100644 | 49 | new file mode 100644 |
50 | index 0000000..5da86fb | 50 | index 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) |
79 | diff --git a/meson_options.txt b/meson_options.txt | 79 | diff --git a/meson_options.txt b/meson_options.txt |
80 | index 72c3997..346c423 100644 | 80 | index 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') |
92 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 92 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
93 | index 372ea41..bb0dcfa 100644 | 93 | index 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', '') |
169 | diff --git a/tests/files/testfile b/tests/files/testfile | 169 | diff --git a/tests/files/testfile b/tests/files/testfile |
170 | new file mode 100644 | 170 | new file mode 100644 |
171 | index 0000000..89954e0 | 171 | index 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 | -- |
256 | 2.28.0 | 256 | 2.29.2 |
257 | 257 | ||