Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp587588lqb; Wed, 29 May 2024 05:13:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXfsM0lvYg48pnsgLORRew0OdazZufLGNmJMGk6XmQUW4NvCu/GXRf5StHrhAj3QD/PjdtlVDSCjnvkbu8O/cQSpswVpdFhDjRLmhBvrQ== X-Google-Smtp-Source: AGHT+IHWiiEbK3iQ0UqbVNR4pSaOEZL1DLdMnN/qC+JKNeEF1PweTON0Z0OdDO0OIuk3nr51evdG X-Received: by 2002:a17:906:f581:b0:a62:9068:3f3 with SMTP id a640c23a62f3a-a629068056emr1053895466b.41.1716984831546; Wed, 29 May 2024 05:13:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716984831; cv=pass; d=google.com; s=arc-20160816; b=KhsxlCLc/DoMU/NrkZ2DrVZFOBGDaiJpN02IBUOpUlcUYIS7etU/YdFqFG5PleWvK8 qPGA6KR6GbxW1C4CbHsmqcfKL9QxVXtGCEQ3lqpY+5Wr6mzKZRcez/wrReso/+C6LHwc ZaPLJwEVxdJnSm9h5okYnndun1BGmUDqEB7PjL7rl1hYX4Z4KSVvTmqz8mqXzG3tcmpA wCRKfErOAgkSn4hogbMPhhbkXZWrmOckyXnEPvoD87MhXeQAB1OdNgdtNw+R4SJYv0+j nkQSBlk2gm1nmKcslY2DTUuDER8fqZU2KeWel8vZ2/2T4ZhzV6qsEA8BX4LruXAS3Tem DQJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=hueZhDyUrEd5CX/cDyVQTHORprkRFFl2pVHXw7wFWJE=; fh=m7R+7qrV1MoIN/TmJK7SlVtLfBojSWqPzL9uyi1C4QI=; b=f5iXjxniI8bYVafGAhuCmDANS5so1x06vyU8TOx8SNBwWWVvpd5ePXvqcrrkmapWE8 45Js/jNCpxqE7i3m36wA62ipTHWZVVKP0J9sSd21v4mGMVKo7M2/Q5sR+LaEfkwYIt8g Etk6vtytjtxaf+3oPJsZATutOqHJdOZVzaiX4OF4DqmbqnBMVUxhH+78Wzu2SnjEXJbB aXiP+xIK+PjmflMDwSKyfM3SgHNk4YXWApZn9MqSspYVL7LwMOJlSPQ0uTQdwXfg0sdL XWahOw3ImbuNKJte9YW2giMtHpV1NNKTzsLiOaRsAq8bPqVqQ4gKFAVTPkhaLlIlVpvX 2xXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-194063-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194063-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc37698si607103366b.365.2024.05.29.05.13.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 05:13:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194063-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-194063-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194063-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 47D6A1F23D22 for ; Wed, 29 May 2024 12:13:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FE67180A9F; Wed, 29 May 2024 12:13:44 +0000 (UTC) Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1610638F96 for ; Wed, 29 May 2024 12:13:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716984824; cv=none; b=tedOBESbBDb76VPcxoihFREp86nQM48qFWDfJ/8YEJ33KoW5hqNggSC/l71dtnTIFQ9PaQ2j9IFv4GjcviDqWALt1tFST3yRN0u02KNi0/QmorubrTmAuCp5msHTx+sFxj1//HJgjCulyHjbds9PiDLA/Xtp3VtChP8VYq6k280= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716984824; c=relaxed/simple; bh=vTtwrXFt86WZNe0Q6OuOfjGHrOGWBybonPKdpNAT3Sc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hJre6GP4vJuUUu9K1Yh9sDXkGi6wQmhgJVf/8S4/UFCgJEaG6F/crfSPeZIP/IBvyJw5vfqlOxHdjxotPw1jiIHj0ySlgAA10JpA7FqjMq7utaRh409NWJIA05BByuhreK1yfsovuNHZv4sESGU0oanBCooeEOhjRFqZ/Df7NGE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:1b01:1838:131c:4de4]) by xavier.telenet-ops.be with bizsmtp id V0De2C00Q3VPV9V010De6M; Wed, 29 May 2024 14:13:39 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sCIAa-00GcFv-CV; Wed, 29 May 2024 14:13:38 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sCIBW-009XN5-Mp; Wed, 29 May 2024 14:13:38 +0200 From: Geert Uytterhoeven To: Shuah Khan , John Stultz , Thomas Gleixner , Stephen Boyd , Anna-Maria Behnsen , Frederic Weisbecker , Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2] selftests: timers: clocksource-switch: Adapt progress to kselftest framework Date: Wed, 29 May 2024 14:13:35 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Fixes: ce7d101750ff8450 ("selftests: timers: clocksource-switch: adapt to kselftest framework") Signed-off-by: Geert Uytterhoeven Reviewed-by: Thomas Gleixner --- v2: - Add Reviewed-by. --- tools/testing/selftests/timers/clocksource-switch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/timers/clocksource-switch.c b/tools/testing/selftests/timers/clocksource-switch.c index c5264594064c8516..83faa4e354e389c2 100644 --- a/tools/testing/selftests/timers/clocksource-switch.c +++ b/tools/testing/selftests/timers/clocksource-switch.c @@ -156,8 +156,8 @@ 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", - clocksource_list[i]); + ksft_print_msg("Validating clocksource %s\n", + clocksource_list[i]); if (change_clocksource(clocksource_list[i])) { status = -1; goto out; @@ -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); -- 2.34.1