mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
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>
This commit is contained in:
committed by
Steve Sakoman
parent
25c8215476
commit
2f971cc14b
@@ -59,7 +59,7 @@ index 0000000..cf7d31b
|
||||
+GST_PLUGIN_LOADING_WHITELIST="@GST_PLUGIN_LOADING_WHITELIST@"
|
||||
+GST_REGISTRY=@GST_REGISTRY@
|
||||
+GST_STATE_IGNORE_ELEMENTS="@GST_STATE_IGNORE_ELEMENTS@"
|
||||
+exec @TEST@
|
||||
+exec @TEST@ "$@"
|
||||
diff --git a/tests/check/template.test.in b/tests/check/template.test.in
|
||||
index f701627..b74ef6a 100644
|
||||
--- a/tests/check/template.test.in
|
||||
|
||||
@@ -23,4 +23,4 @@ GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,parser_pull_short_read"
|
||||
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3524
|
||||
GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,parser_convert_duration,parser_pull_frame_growth,parser_reverse_playback"
|
||||
|
||||
gnome-desktop-testing-runner gstreamer
|
||||
gnome-desktop-testing-runner --parallel=4 gstreamer "$@"
|
||||
|
||||
Reference in New Issue
Block a user