aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2019-10-14 10:26:34 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2019-10-24 16:57:37 +1100
commit4f5c5b76cc00ccf5be89a2b9883feba3baf6eb2e (patch)
treec84bbfab03eb97e7742d5475b36e3dece38721a4 /tools/testing/selftests
parentMerge branch 'fixes' into next (diff)
downloadlinux-dev-4f5c5b76cc00ccf5be89a2b9883feba3baf6eb2e.tar.xz
linux-dev-4f5c5b76cc00ccf5be89a2b9883feba3baf6eb2e.zip
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 <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20191013234643.3430-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r--tools/testing/selftests/powerpc/signal/sigfuz.c2
1 files changed, 1 insertions, 1 deletions
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 */