libopus: increase test timeouts

Some tests time out easily on slower machines.
Tested on a pine64 star64.
This commit is contained in:
Francesco Gazzetta 2023-07-09 11:51:53 +02:00
parent 18cf872af0
commit 7ba01765ac
2 changed files with 18 additions and 0 deletions

View file

@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
patches = [ patches = [
./fix-pkg-config-paths.patch ./fix-pkg-config-paths.patch
# Some tests time out easily on slower machines
./test-timeout.patch
# Fix meson build for arm64. Remove with next release # Fix meson build for arm64. Remove with next release
# https://gitlab.xiph.org/xiph/opus/-/merge_requests/59 # https://gitlab.xiph.org/xiph/opus/-/merge_requests/59
(fetchpatch { (fetchpatch {

View file

@ -0,0 +1,16 @@
diff --git a/tests/meson.build b/tests/meson.build
index 5f3ac9d..74b2de7 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,8 +1,8 @@
# Tests that link to libopus
opus_tests = [
- ['test_opus_api'],
- ['test_opus_decode', [], 60],
- ['test_opus_encode', 'opus_encode_regressions.c', 120],
+ ['test_opus_api', [], 60],
+ ['test_opus_decode', [], 120],
+ ['test_opus_encode', 'opus_encode_regressions.c', 240],
['test_opus_padding'],
['test_opus_projection'],
]