diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-03-15 14:37:38 +0000 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-12-02 06:23:20 -0800 |
| commit | 0bffb5eed1e8c9469b9c6e0d77f959dc9ade9c6a (patch) | |
| tree | 2ed8ea9192583d86ff18cb0d64a3ceed807067e6 | |
| parent | e95fcf9f571b57aa5e69f234384a5a615978eb0b (diff) | |
| download | poky-0bffb5eed1e8c9469b9c6e0d77f959dc9ade9c6a.tar.gz | |
gstreamer1.0: improve test reliability
First, libcheck has the ability to increase all test timeouts by an arbitrary
multiplier. Because we run our tests on loaded build machines,
increase all timeouts by 10x to reduce the chance of load causing failures.
Second, use GST_CHECKS_IGNORE to list test cases that should be skipped.
Drop skip-aggregator-test.patch as this is now redundant, and also skip
gstnetclientclock.c:test_functioning as this is very sensitive to load.
[ YOCTO #14808 ]
(From OE-Core rev: 13b13b81b91f618c13cf972067c47bd810de852f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 669d0df81f651f7c033c8cb7872cac5bfe670a4f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rwxr-xr-x | meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest b/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest index 0cfa955f03..7d0312005f 100755 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest | |||
| @@ -1,2 +1,16 @@ | |||
| 1 | #!/usr/bin/env sh | 1 | #! /bin/sh |
| 2 | |||
| 3 | # Multiply all timeouts by ten so they're more likely to work | ||
| 4 | # on a loaded system. | ||
| 5 | export CK_TIMEOUT_MULTIPLIER=5 | ||
| 6 | |||
| 7 | # Skip some tests that we know are problematic | ||
| 8 | export GST_CHECKS_IGNORE="" | ||
| 9 | # gstnetclientclock.c:test_functioning is very sensitive to load | ||
| 10 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,test_functioning" | ||
| 11 | |||
| 12 | # aggregator.c:test_infinite_seek_50_src_live is known to be flaky | ||
| 13 | # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/410 | ||
| 14 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,test_infinite_seek_50_src_live" | ||
| 15 | |||
| 2 | gnome-desktop-testing-runner gstreamer | 16 | gnome-desktop-testing-runner gstreamer |
