diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch b/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch index efa004f8..0a312389 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch +++ b/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4dcbabebca2ad6f1fdd59ee35a858082e87db7b6 Mon Sep 17 00:00:00 2001 | 1 | From 616c489d4ff1e7ed878bc3760180ba994fbd1974 Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sun, 2 May 2021 01:58:01 +0100 | 3 | Date: Sun, 2 May 2021 01:58:01 +0100 |
4 | Subject: [PATCH 4/4] tests: add helper script to run the installed_tests | 4 | Subject: [PATCH 4/4] tests: add helper script to run the installed_tests |
@@ -11,16 +11,16 @@ Upstream-Status: Submitted [https://gitlab.freedesktop.org/gstreamer/gstreamer/- | |||
11 | 11 | ||
12 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | 12 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> |
13 | --- | 13 | --- |
14 | subprojects/gstreamer/tests/check/meson.build | 17 +++++++++++++++++ | 14 | tests/check/meson.build | 17 +++++++++++++++++ |
15 | .../gstreamer/tests/check/template.sh.in | 9 +++++++++ | 15 | tests/check/template.sh.in | 9 +++++++++ |
16 | .../gstreamer/tests/check/template.test.in | 2 +- | 16 | tests/check/template.test.in | 2 +- |
17 | 3 files changed, 27 insertions(+), 1 deletion(-) | 17 | 3 files changed, 27 insertions(+), 1 deletion(-) |
18 | create mode 100755 subprojects/gstreamer/tests/check/template.sh.in | 18 | create mode 100644 tests/check/template.sh.in |
19 | 19 | ||
20 | diff --git a/subprojects/gstreamer/tests/check/meson.build b/subprojects/gstreamer/tests/check/meson.build | 20 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
21 | index 48ec2532f8..7dc4990d4e 100644 | 21 | index 330abaaeadd5..5d383b14dc29 100644 |
22 | --- a/subprojects/gstreamer/tests/check/meson.build | 22 | --- a/tests/check/meson.build |
23 | +++ b/subprojects/gstreamer/tests/check/meson.build | 23 | +++ b/tests/check/meson.build |
24 | @@ -185,6 +185,23 @@ foreach t : core_tests | 24 | @@ -185,6 +185,23 @@ foreach t : core_tests |
25 | install_dir: installed_tests_metadir, | 25 | install_dir: installed_tests_metadir, |
26 | configuration: test_conf | 26 | configuration: test_conf |
@@ -45,11 +45,11 @@ index 48ec2532f8..7dc4990d4e 100644 | |||
45 | endif | 45 | endif |
46 | 46 | ||
47 | test(test_name, exe, env: env, timeout : 3 * 60) | 47 | test(test_name, exe, env: env, timeout : 3 * 60) |
48 | diff --git a/subprojects/gstreamer/tests/check/template.sh.in b/subprojects/gstreamer/tests/check/template.sh.in | 48 | diff --git a/tests/check/template.sh.in b/tests/check/template.sh.in |
49 | new file mode 100755 | 49 | new file mode 100644 |
50 | index 0000000000..cf7d31b0ea | 50 | index 000000000000..cf7d31b0ea5f |
51 | --- /dev/null | 51 | --- /dev/null |
52 | +++ b/subprojects/gstreamer/tests/check/template.sh.in | 52 | +++ b/tests/check/template.sh.in |
53 | @@ -0,0 +1,9 @@ | 53 | @@ -0,0 +1,9 @@ |
54 | +#!/bin/sh | 54 | +#!/bin/sh |
55 | + | 55 | + |
@@ -60,15 +60,15 @@ index 0000000000..cf7d31b0ea | |||
60 | +GST_REGISTRY=@GST_REGISTRY@ | 60 | +GST_REGISTRY=@GST_REGISTRY@ |
61 | +GST_STATE_IGNORE_ELEMENTS="@GST_STATE_IGNORE_ELEMENTS@" | 61 | +GST_STATE_IGNORE_ELEMENTS="@GST_STATE_IGNORE_ELEMENTS@" |
62 | +exec @TEST@ | 62 | +exec @TEST@ |
63 | diff --git a/subprojects/gstreamer/tests/check/template.test.in b/subprojects/gstreamer/tests/check/template.test.in | 63 | diff --git a/tests/check/template.test.in b/tests/check/template.test.in |
64 | index f701627f87..b74ef6ad73 100644 | 64 | index f701627f87a6..b74ef6ad732a 100644 |
65 | --- a/subprojects/gstreamer/tests/check/template.test.in | 65 | --- a/tests/check/template.test.in |
66 | +++ b/subprojects/gstreamer/tests/check/template.test.in | 66 | +++ b/tests/check/template.test.in |
67 | @@ -1,3 +1,3 @@ | 67 | @@ -1,3 +1,3 @@ |
68 | [Test] | 68 | [Test] |
69 | Type=session | 69 | Type=session |
70 | -Exec=@installed_tests_dir@/@program@ | 70 | -Exec=@installed_tests_dir@/@program@ |
71 | +Exec=@installed_tests_dir@/@program@.sh | 71 | +Exec=@installed_tests_dir@/@program@.sh |
72 | -- | 72 | -- |
73 | 2.33.1 | 73 | 2.39.2 |
74 | 74 | ||