From: Michael Ellerman Date: Sun, 13 Oct 2019 23:26:34 +0000 (+1100) Subject: selftests/powerpc: Reduce sigfuz runtime to ~60s X-Git-Tag: v5.10.7~3774^2~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f5c5b76cc00ccf5be89a2b9883feba3baf6eb2e;p=platform%2Fkernel%2Flinux-rpi.git selftests/powerpc: Reduce sigfuz runtime to ~60s The defaults for the sigfuz test is to run for 4000 iterations, but that can take quite a while and the test harness may kill the test. Reduce the number of iterations to 600, which gives a runtime of roughly 1 minute on a Power8 system. Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20191013234643.3430-1-mpe@ellerman.id.au --- diff --git a/tools/testing/selftests/powerpc/signal/sigfuz.c b/tools/testing/selftests/powerpc/signal/sigfuz.c index dade00c698c2..08f9afe3b95c 100644 --- a/tools/testing/selftests/powerpc/signal/sigfuz.c +++ b/tools/testing/selftests/powerpc/signal/sigfuz.c @@ -42,7 +42,7 @@ #include "utils.h" /* Selftest defaults */ -#define COUNT_MAX 4000 /* Number of interactions */ +#define COUNT_MAX 600 /* Number of interactions */ #define THREADS 16 /* Number of threads */ /* Arguments options */