From d9f76c137295aaa277a591623a09e92ad7f1df65 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Tue, 19 Nov 2024 17:52:49 -0800 Subject: [PATCH] test-runner: increase test count to 10000, improve output --- test-sourceme.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test-sourceme.sh b/test-sourceme.sh index 4a2da65..ebb1f2b 100644 --- a/test-sourceme.sh +++ b/test-sourceme.sh @@ -2,7 +2,7 @@ # DO NOT RUN THIS, SOURCE IT FROM YOUR TERMINAL (idk why it needs this) -for ((i=0; i < 1000; ++i)); do +for ((i=0; i < 10000; ++i)); do if timeout -s INT 0.8 ./mutex.out > /dev/null # if grep -q 'Post: count: 99'; then # : # good result @@ -19,6 +19,9 @@ for ((i=0; i < 1000; ++i)); do if ((i % 100 == 99)); then echo -n . fi + if ((i % 1000 == 999)); then + echo " $((i + 1))" + fi else echo -n "-ERROR on take ${i}: $e-" e=