Skip to contentSkip to conversation

selftests/powerpc: Reduce sigfuz runtime to ~60s

PATCH Applied Michael Ellerman 2 participants 2 messages Oct 13, 2019 – Oct 30, 2019

Subsystems (2)
lore
Share & tools
lore

Michael Ellerman

author reviewer
#0 lore raw

PATCH 1/1 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.

---
 tools/testing/selftests/powerpc/signal/sigfuz.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/powerpc/signal/sigfuz.c +1 -1
index dade00c698c2..08f9afe3b95c 100644
@@ -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 */
Signature · 1 line
2.21.0