Commit 8694e6a7 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Shuah Khan
Browse files

selftests: timers: clocksource-switch: Adapt progress to kselftest framework

When adapting the test to the kselftest framework, a few printf() calls
indicating test progress were not updated.

Fix this by replacing these printf() calls by ksft_print_msg() calls.

Link: https://lore.kernel.org/r/7dd4b9ab6e43268846e250878ebf25ae6d3d01ce.1733994134.git.geert+renesas@glider.be


Fixes: ce7d1017 ("selftests: timers: clocksource-switch: adapt to kselftest framework")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent d54d3f69
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ int main(int argc, char **argv)
	/* Check everything is sane before we start switching asynchronously */
	if (do_sanity_check) {
		for (i = 0; i < count; i++) {
			printf("Validating clocksource %s\n",
			ksft_print_msg("Validating clocksource %s\n",
					clocksource_list[i]);
			if (change_clocksource(clocksource_list[i])) {
				status = -1;
@@ -169,7 +169,7 @@ int main(int argc, char **argv)
		}
	}

	printf("Running Asynchronous Switching Tests...\n");
	ksft_print_msg("Running Asynchronous Switching Tests...\n");
	pid = fork();
	if (!pid)
		return run_tests(runtime);