orc/relax-tests.patch
Dominique Leuenberger 4a9258a00a - Update to version 0.4.40:
+ Security: Minor follow-up fixes for CVE-2024-40897
  + Fix include header use from C++
  + orccodemem: Assorted memory mapping fixes
  + powerpc: fix div255w which still used the inexact substitution
  + powerpc: Disable VSX and ISA 2.07 for Apple targets
  + powerpc: Allow detection of ppc64 in Mac OS
  + x86: work around old GCC versions (pre 9.0) having broken
    xgetbv implementationsv
  + x86: consider MSYS2/Cygwin as Windows for ABI purposes only
  + x86: handle unnatural and misaligned array pointers
  + x86: Fix non-C11 typedefs
  + x86: try fixing AVX detection again by adding check for XSAVE
  + Some compatibility fixes for Musl
  + meson: Fix detecting XSAVE on older AppleClangv
  + Check return values of malloc() and realloc()

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/orc?expand=0&rev=91
2024-09-25 07:18:45 +00:00

36 lines
1.0 KiB
Diff

Index: orc-orc-0.4.28/testsuite/memcpy_speed.c
===================================================================
--- orc-orc-0.4.28.orig/testsuite/memcpy_speed.c
+++ orc-orc-0.4.28/testsuite/memcpy_speed.c
@@ -102,6 +102,10 @@ main(int argc, char *argv[])
max = 140;
}
+ /* There is a pathological slow down for max > 150 or so
+ so set a lower value. */
+ max = 140;
+
for(i=0;i<max;i+=2){
double x = i*0.1 + 6.0;
int size = (int) pow(2.0, x);
Index: orc-orc-0.4.28/testsuite/meson.build
===================================================================
--- orc-orc-0.4.28.orig/testsuite/meson.build
+++ orc-orc-0.4.28/testsuite/meson.build
@@ -31,6 +31,7 @@ foreach test : tests
test(
test,
t,
+ timeout: 120,
env: {
'testfile': meson.current_source_dir() + '/test.orc',
'ORC_TARGET': i,
@@ -43,6 +44,7 @@ foreach test : tests
test(
test,
t,
+ timeout: 120,
env: {
'testfile': meson.current_source_dir() + '/test.orc',
},