From patchwork Thu Jun 12 13:56:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Klug X-Patchwork-Id: 23624 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by patchwork.libcamera.org (Postfix) with ESMTPS id B11A4BDE6B for ; Mon, 23 Jun 2025 14:12:11 +0000 (UTC) Received: from pendragon.ideasonboard.com (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 052D115BF for ; Mon, 23 Jun 2025 16:11:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1750687915; bh=EYzGlR1R/5h1quxd3gTy+Vb4Fm9i5DSjn1s5yEg9LAY=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Resent-From:Resent-To:From; b=ig7q5Ryu81XWNGs7EuquExu8SCcxGk2kfBm/keNBeWPB+gluVLJ5yHf6h4dIPPKsJ aFPkqDwikV7zJpnLLtI8TXrDx7qxnOvqQ1ChyQpjdgeArVpsMARKipPsAjkUae1OEy MKS4leP3vT+H+tVgLVlz9KIWH+KeTaZvlAMfwW4g= Delivered-To: kbingham@ideasonboard.com Received: from perceval.ideasonboard.com by perceval.ideasonboard.com with LMTP id Fb9MI1LdSmgRMi0A4E0KoQ (envelope-from ) for ; Thu, 12 Jun 2025 15:59:46 +0200 Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by perceval.ideasonboard.com (Postfix) with ESMTPS id 16267169; Thu, 12 Jun 2025 15:59:46 +0200 (CEST) Authentication-Results: perceval.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=h8kFMUvf; dkim-atps=neutral Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8111868DBF; Thu, 12 Jun 2025 15:59:52 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="h8kFMUvf"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9B98E6154C for ; Thu, 12 Jun 2025 15:59:50 +0200 (CEST) Received: from ideasonboard.com (unknown [IPv6:2a00:6020:448c:6c00:3176:2bf8:8f04:4c4]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id B763B169; Thu, 12 Jun 2025 15:59:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1749736781; bh=jrmimk2/L595LTVT2WEb+9kswv4Ad39pUw+51hWMH8o=; h=From:To:Cc:Subject:Date:From; b=h8kFMUvfnG9SqSLavedzm9cE4ASU3XB3u9mGSUVd8QXvpqekUxcbgFkG5DvaLuykQ Q7aKBBOCDOVH7TK/LuTs7bNdMayyx0NxwKlb2jqA5oJJLyPlTcP84R7ky64SVvVe9s 5jg+vhvSHkUlGAgiXGPBXoFSZ/AuuLcKams5kLvk= From: Stefan Klug To: libcamera-devel@lists.libcamera.org Cc: Stefan Klug Subject: [PATCH v2 0/2] Fix log level parsing when multiple categories are listed Date: Thu, 12 Jun 2025 15:56:43 +0200 Message-ID: <20250612135943.522819-1-stefan.klug@ideasonboard.com> X-Mailer: git-send-email 2.48.1 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" X-TUID: 3VYG+BB3Cov/ Resent-From: Kieran Bingham Resent-To: parsemail@patchwork.libcamera.org This series fixes a small bug in the log level parser. v1 was sent as a single patch. v2 fixes a small formatting issue in patch 2 and adds a testcase as proposed by Barnabás. Regards, Stefan Stefan Klug (2): libcamera: test: Add a failing test for the log level parser libcamera: base: Fix log level parsing when multiple categories are listed src/libcamera/base/log.cpp | 5 +++-- test/log/log_api.cpp | 39 +++++++++++++++++++++++++++++++++++++- test/log/meson.build | 3 ++- 3 files changed, 43 insertions(+), 4 deletions(-)