kselftest/arm64: Provide progress messages when signalling children
authorMark Brown <broonie@kernel.org>
Mon, 17 Oct 2022 14:45:53 +0000 (15:45 +0100)
committerWill Deacon <will@kernel.org>
Tue, 8 Nov 2022 16:03:19 +0000 (16:03 +0000)
Especially when the test is configured to run for a longer time it can be
reassuring to users to see that the supervising program is running OK so
provide a message every second when the output timer expires.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221017144553.773176-3-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/fp-stress.c

index 35dc07648d52b4243ae88f6096672aa8f36f7bbf..ccbfcf847d9605d5e2592da1eea675812e7fc779 100644 (file)
@@ -549,6 +549,9 @@ int main(int argc, char **argv)
                        all_children_started = true;
                }
 
+               ksft_print_msg("Sending signals, timeout remaining: %d\n",
+                              timeout);
+
                for (i = 0; i < num_children; i++)
                        child_tickle(&children[i]);