diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2023-07-09 11:51:53 +0200 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2023-07-09 12:36:32 +0200 |
commit | 7ba01765aca525dfc64f751663850144c0a17528 (patch) | |
tree | ca141aac991b1e054c9ce034255068605e479c4c /pkgs/development/libraries/libopus | |
parent | 18cf872af016d6831c4ef36927c57a395578124e (diff) | |
download | nixpkgs-7ba01765aca525dfc64f751663850144c0a17528.tar nixpkgs-7ba01765aca525dfc64f751663850144c0a17528.tar.gz nixpkgs-7ba01765aca525dfc64f751663850144c0a17528.tar.bz2 nixpkgs-7ba01765aca525dfc64f751663850144c0a17528.tar.lz nixpkgs-7ba01765aca525dfc64f751663850144c0a17528.tar.xz nixpkgs-7ba01765aca525dfc64f751663850144c0a17528.tar.zst nixpkgs-7ba01765aca525dfc64f751663850144c0a17528.zip |
libopus: increase test timeouts
Some tests time out easily on slower machines. Tested on a pine64 star64.
Diffstat (limited to 'pkgs/development/libraries/libopus')
-rw-r--r-- | pkgs/development/libraries/libopus/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/libopus/test-timeout.patch | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libopus/default.nix b/pkgs/development/libraries/libopus/default.nix index 679de601aa7..b2b095f5607 100644 --- a/pkgs/development/libraries/libopus/default.nix +++ b/pkgs/development/libraries/libopus/default.nix @@ -25,6 +25,8 @@ stdenv.mkDerivation rec { patches = [ ./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 # https://gitlab.xiph.org/xiph/opus/-/merge_requests/59 (fetchpatch { diff --git a/pkgs/development/libraries/libopus/test-timeout.patch b/pkgs/development/libraries/libopus/test-timeout.patch new file mode 100644 index 00000000000..e20f12cc1d5 --- /dev/null +++ b/pkgs/development/libraries/libopus/test-timeout.patch @@ -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'], + ] |