diff options
author | Ross Burton <ross.burton@arm.com> | 2024-12-28 21:49:06 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-01-09 06:02:48 -0800 |
commit | 2f971cc14b4aefb4582d6a9990a4737a48e4233d (patch) | |
tree | 011570b58a0a56b3a2bb4c74c617ca9dfa85e140 | |
parent | 25c8215476efb625685c5d2ba49589616ff9ad8b (diff) | |
download | poky-2f971cc14b4aefb4582d6a9990a4737a48e4233d.tar.gz |
gstreamer1.0: run ptests in parallel
Run the ptests in four parallel jobs (reduces runtime from ~80s to ~20s
on my machine), and also pass any arguments in the scripts to make it
easier to run individual tests.
(From OE-Core rev: 87a9fadc71c8d3c1eb841c84c96146d5c56f1241)
(From OE-Core rev: 4a5b169abf171754217458d1615f9fb8bddc4a2b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch | 2 | ||||
-rwxr-xr-x | meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch index 629b0563f6..cd795fe0ec 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch | |||
@@ -59,7 +59,7 @@ index 0000000..cf7d31b | |||
59 | +GST_PLUGIN_LOADING_WHITELIST="@GST_PLUGIN_LOADING_WHITELIST@" | 59 | +GST_PLUGIN_LOADING_WHITELIST="@GST_PLUGIN_LOADING_WHITELIST@" |
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/tests/check/template.test.in b/tests/check/template.test.in | 63 | diff --git a/tests/check/template.test.in b/tests/check/template.test.in |
64 | index f701627..b74ef6a 100644 | 64 | index f701627..b74ef6a 100644 |
65 | --- a/tests/check/template.test.in | 65 | --- a/tests/check/template.test.in |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest b/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest index 7fee5a3d09..44dc350eb3 100755 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest | |||
@@ -23,4 +23,4 @@ GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,parser_pull_short_read" | |||
23 | # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3524 | 23 | # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3524 |
24 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,parser_convert_duration,parser_pull_frame_growth,parser_reverse_playback" | 24 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,parser_convert_duration,parser_pull_frame_growth,parser_reverse_playback" |
25 | 25 | ||
26 | gnome-desktop-testing-runner gstreamer | 26 | gnome-desktop-testing-runner --parallel=4 gstreamer "$@" |