From patchwork Thu Mar 7 22:18:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dufresne X-Patchwork-Id: 19640 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id CD74EC32AF for ; Thu, 7 Mar 2024 22:18:32 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 89AFE62875; Thu, 7 Mar 2024 23:18:32 +0100 (CET) Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [IPv6:2a00:1098:ed:100::25]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 652C46286C for ; Thu, 7 Mar 2024 23:18:28 +0100 (CET) Received: from nicolas-tpx395.lan (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nicolas) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 9BD0B3781FF7; Thu, 7 Mar 2024 22:18:27 +0000 (UTC) From: Nicolas Dufresne To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1 3/5] qemu: Print error logs on unit test failure Date: Thu, 7 Mar 2024 17:18:08 -0500 Message-ID: <20240307221810.2109348-4-nicolas@ndufresne.ca> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240307221810.2109348-1-nicolas@ndufresne.ca> References: <20240307221810.2109348-1-nicolas@ndufresne.ca> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nicolas Dufresne Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Nicolas Dufresne The error logs very often holds the information needed to fix the failure, don't hide it. Signed-off-by: Nicolas Dufresne Reviewed-by: Kieran Bingham --- .gitlab-ci/test-libcamera-qemu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/test-libcamera-qemu.sh b/.gitlab-ci/test-libcamera-qemu.sh index 068f2ff..f9de5ab 100755 --- a/.gitlab-ci/test-libcamera-qemu.sh +++ b/.gitlab-ci/test-libcamera-qemu.sh @@ -26,7 +26,7 @@ libcamera_unit_test() { virtme-ng --verbose --skip-modules --force-9p \ --rwdir "$PWD/build" \ --run /opt/linux/bzImage \ - --exec "meson test -C build --no-rebuild ; echo \\\$? > build/.test-status" + --exec "meson test -C build --no-rebuild --print-errorlogs; echo \\\$? > build/.test-status" local status=$(cat build/.test-status) echo "Test result exit state: $status"