File relax-tests.patch of Package orc.10989
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++){
double x = i*0.1 + 6.0;
int size = 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
@@ -16,7 +16,7 @@ foreach test : tests
install: false,
dependencies: [libm, orc_dep, orc_test_dep])
- test(test, t, env : 'testfile=' + meson.current_source_dir() + '/test.orc')
+ test(test, t, timeout: 120, env : 'testfile=' + meson.current_source_dir() + '/test.orc')
endforeach
noinst_bins = ['generate_xml_table', 'generate_xml_table2']