From patchwork Tue Sep 14 01:04:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 13840 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 6695ABDC71 for ; Tue, 14 Sep 2021 01:04:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E1E9E69181; Tue, 14 Sep 2021 03:04:27 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="n23Bok42"; 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 3EA3F6917A for ; Tue, 14 Sep 2021 03:04:26 +0200 (CEST) Received: from pyrite.rasen.tech (unknown [IPv6:2400:4051:61:600:2c71:1b79:d06d:5032]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C0B8E499; Tue, 14 Sep 2021 03:04:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1631581465; bh=J3gtTBGdK6MRrOUlGhN4lOrA5ZjApAlj9CJJcSaibOU=; h=From:To:Cc:Subject:Date:From; b=n23Bok42vll0ajDKt3y44tWFph68A8K9HTBj0ilrydRjjdCNE5TkH7ArXYg4awztw 9Mii7/P9AxeGjnhYa2kuBdYrSc1uBTi27iqlMHsZ2wEaQc5cbMCeuLMUm0emiptB1y RCR1hYyuoKBMbeHI03N1BRyRpITkeLpppLmMVVuI= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Tue, 14 Sep 2021 10:04:13 +0900 Message-Id: <20210914010413.925842-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] test: v4l2_compat: Skip vimc as a test candidate 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" As the vimc scaler prevents us from passing v4l2-compliance, skip it until the fix has been merged. Instead of removing it from the supported_pipelines list, add an extra check, since we will have the same construct later when we check for the kernel version. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- test/v4l2_compat/v4l2_compat_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/v4l2_compat/v4l2_compat_test.py b/test/v4l2_compat/v4l2_compat_test.py index ae892ced..6d304b6c 100755 --- a/test/v4l2_compat/v4l2_compat_test.py +++ b/test/v4l2_compat/v4l2_compat_test.py @@ -134,6 +134,10 @@ def main(argv): if driver not in supported_pipelines: continue + # TODO: Add kernel version check + if driver == "vimc": + continue + if not args.all and driver in drivers_tested: continue