From patchwork Thu Jan 18 15:14:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= X-Patchwork-Id: 13522953 X-Patchwork-Delegate: brendanhiggins@google.com Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [84.16.66.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 156901E87A for ; Thu, 18 Jan 2024 15:14:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.16.66.168 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705590890; cv=none; b=mlu35cvc8FzUFoh7M3DGhUu7NbdOvXrMw8NDIrE0rQ6s09/VfpHC7BQ+Y1qGb9i2Zz+6Z+3M3j856v5bJXZnpNE/czIAqSpNvwK9MyehsrcGVKwVvT3EqX5NgHQb3gf5Egi90YLeF5HJ2aGEIN+Od1QLSzN1+tif842hkF3MudI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705590890; c=relaxed/simple; bh=wfzdWmYDsVMkIW15jvoUKY33rmNyFvsiWxU9CCXHMb8=; h=Received:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding: X-Infomaniak-Routing; b=bvOeot2jo3OTZEqP369ACed1mrFbpqAwINAN7qm4ZREyr+IghPqNVs2lcPjmL6A9SDkowZCDAlxx/hbF+Jdg+TesMsjbcXxhBfHp805Od9OuzViCue/IIbb2bZH62jq+q3DvLVXsgq86v2ZE0xkutFzJzNhNRVDzP0Pivt+NXAM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net; spf=pass smtp.mailfrom=digikod.net; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b=FPbTCBVG; arc=none smtp.client-ip=84.16.66.168 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=digikod.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="FPbTCBVG" Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TG5rY03mCzMqv5w; Thu, 18 Jan 2024 15:14:37 +0000 (UTC) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4TG5rX278Nzwp; Thu, 18 Jan 2024 16:14:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1705590876; bh=wfzdWmYDsVMkIW15jvoUKY33rmNyFvsiWxU9CCXHMb8=; h=From:To:Cc:Subject:Date:From; b=FPbTCBVGfHToxWHSgyc9ArZ2VURiu12BhSGSS51xW08uHuk33uBq5UBeXkRXE9Oz6 bFqP6BpeA9LxcM7m8rNh8gihebbooqnR8E8nRNjnj7ylo3ckjkYujx7fiF00kTrXNI pv8tSLxEMIxjR9+SrHoBGjwN8LTUDDMWWTrq034E= From: =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= To: Brendan Higgins , David Gow Cc: =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= , =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= , Konstantin Meskhidze , kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org Subject: [PATCH] kunit: tool: Print UML command Date: Thu, 18 Jan 2024 16:14:22 +0100 Message-ID: <20240118151422.1966309-1-mic@digikod.net> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Infomaniak-Routing: alpha As for the Qemu command, print the command used to run tests with UML. Cc: Brendan Higgins Cc: David Gow Signed-off-by: Mickaël Salaün Reviewed-by: David Gow --- tools/testing/kunit/kunit_kernel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/kunit/kunit_kernel.py b/tools/testing/kunit/kunit_kernel.py index 0b6488efed47..7254c110ff23 100644 --- a/tools/testing/kunit/kunit_kernel.py +++ b/tools/testing/kunit/kunit_kernel.py @@ -146,6 +146,7 @@ class LinuxSourceTreeOperationsUml(LinuxSourceTreeOperations): """Runs the Linux UML binary. Must be named 'linux'.""" linux_bin = os.path.join(build_dir, 'linux') params.extend(['mem=1G', 'console=tty', 'kunit_shutdown=halt']) + print('Running tests with:\n$', linux_bin, ' '.join(shlex.quote(arg) for arg in params)) return subprocess.Popen([linux_bin] + params, stdin=subprocess.PIPE, stdout=subprocess.PIPE,