From patchwork Wed Jan 19 00:09:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 15284 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 A2827BE086 for ; Wed, 19 Jan 2022 00:10:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B358060944; Wed, 19 Jan 2022 01:10:07 +0100 (CET) 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="LBCHlel8"; 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 654DF6017D for ; Wed, 19 Jan 2022 01:10:05 +0100 (CET) Received: from Monstersaurus.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E56D1464; Wed, 19 Jan 2022 01:10:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1642551005; bh=codYSs+pNyJj+3on+H1lni0+QzzHR6wuyXYt9w8w05M=; h=From:To:Cc:Subject:Date:From; b=LBCHlel8q08wCOPgBklASeY5zHhIvLQkGq775miybWYlb2JepkestxoOjets+dYf+ 5OsMOBErE2K2ZAkQPDE6e6sKw95rfizpKkp5vTMXhwKVSOmiyjW1S1a+5QDpoNPokx JSAGEg4NzicQE9Mf2Txgj9POJDM1mVUsKlCdM+nA= From: Kieran Bingham To: libcamera devel Date: Wed, 19 Jan 2022 00:09:59 +0000 Message-Id: <20220119000959.2500172-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] test: Ensure CameraTest tests are not run in parallel 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" The fence and mapped-buffer tests both use the VIMC test device and must not be run at the same time. Split these tests to a new group to force their isolation from running in parallel. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Reviewed-by: Jacopo Mondi --- test/meson.build | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/test/meson.build b/test/meson.build index 2c9487e203e2..fd4c5ca07c15 100644 --- a/test/meson.build +++ b/test/meson.build @@ -39,11 +39,9 @@ internal_tests = [ ['event', 'event.cpp'], ['event-dispatcher', 'event-dispatcher.cpp'], ['event-thread', 'event-thread.cpp'], - ['fence', 'fence.cpp'], ['file', 'file.cpp'], ['flags', 'flags.cpp'], ['hotplug-cameras', 'hotplug-cameras.cpp'], - ['mapped-buffer', 'mapped-buffer.cpp'], ['message', 'message.cpp'], ['object', 'object.cpp'], ['object-delete', 'object-delete.cpp'], @@ -58,6 +56,11 @@ internal_tests = [ ['utils', 'utils.cpp'], ] +internal_non_parallel_tests = [ + ['fence', 'fence.cpp'], + ['mapped-buffer', 'mapped-buffer.cpp'], +] + foreach t : public_tests exe = executable(t[0], t[1], dependencies : libcamera_public, @@ -75,3 +78,12 @@ foreach t : internal_tests test(t[0], exe) endforeach + +foreach t : internal_non_parallel_tests + exe = executable(t[0], t[1], + dependencies : libcamera_private, + link_with : test_libraries, + include_directories : test_includes_internal) + + test(t[0], exe, is_parallel : false) +endforeach