{"id":15284,"url":"https://patchwork.libcamera.org/api/1.1/patches/15284/?format=json","web_url":"https://patchwork.libcamera.org/patch/15284/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20220119000959.2500172-1-kieran.bingham@ideasonboard.com>","date":"2022-01-19T00:09:59","name":"[libcamera-devel] test: Ensure CameraTest tests are not run in parallel","commit_ref":"2b69ad550cfd21da67766f3d7a16cc6a31177820","pull_url":null,"state":"accepted","archived":false,"hash":"f5017d4514533f2001992f16b936ac20048cf94e","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/1.1/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/15284/mbox/","series":[{"id":2896,"url":"https://patchwork.libcamera.org/api/1.1/series/2896/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2896","date":"2022-01-19T00:09:59","name":"[libcamera-devel] test: Ensure CameraTest tests are not run in parallel","version":1,"mbox":"https://patchwork.libcamera.org/series/2896/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/15284/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/15284/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id A2827BE086\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 19 Jan 2022 00:10:08 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B358060944;\n\tWed, 19 Jan 2022 01:10:07 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 654DF6017D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 19 Jan 2022 01:10:05 +0100 (CET)","from Monstersaurus.local\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id E56D1464;\n\tWed, 19 Jan 2022 01:10:04 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"LBCHlel8\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1642551005;\n\tbh=codYSs+pNyJj+3on+H1lni0+QzzHR6wuyXYt9w8w05M=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=LBCHlel8q08wCOPgBklASeY5zHhIvLQkGq775miybWYlb2JepkestxoOjets+dYf+\n\t5OsMOBErE2K2ZAkQPDE6e6sKw95rfizpKkp5vTMXhwKVSOmiyjW1S1a+5QDpoNPokx\n\tJSAGEg4NzicQE9Mf2Txgj9POJDM1mVUsKlCdM+nA=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","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","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH] test: Ensure CameraTest tests are not run\n\tin parallel","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The fence and mapped-buffer tests both use the VIMC test device and must\nnot be run at the same time.\n\nSplit these tests to a new group to force their isolation from running\nin parallel.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n test/meson.build | 16 ++++++++++++++--\n 1 file changed, 14 insertions(+), 2 deletions(-)","diff":"diff --git a/test/meson.build b/test/meson.build\nindex 2c9487e203e2..fd4c5ca07c15 100644\n--- a/test/meson.build\n+++ b/test/meson.build\n@@ -39,11 +39,9 @@ internal_tests = [\n     ['event',                           'event.cpp'],\n     ['event-dispatcher',                'event-dispatcher.cpp'],\n     ['event-thread',                    'event-thread.cpp'],\n-    ['fence',                           'fence.cpp'],\n     ['file',                            'file.cpp'],\n     ['flags',                           'flags.cpp'],\n     ['hotplug-cameras',                 'hotplug-cameras.cpp'],\n-    ['mapped-buffer',                   'mapped-buffer.cpp'],\n     ['message',                         'message.cpp'],\n     ['object',                          'object.cpp'],\n     ['object-delete',                   'object-delete.cpp'],\n@@ -58,6 +56,11 @@ internal_tests = [\n     ['utils',                           'utils.cpp'],\n ]\n \n+internal_non_parallel_tests = [\n+    ['fence',                           'fence.cpp'],\n+    ['mapped-buffer',                   'mapped-buffer.cpp'],\n+]\n+\n foreach t : public_tests\n     exe = executable(t[0], t[1],\n                      dependencies : libcamera_public,\n@@ -75,3 +78,12 @@ foreach t : internal_tests\n \n     test(t[0], exe)\n endforeach\n+\n+foreach t : internal_non_parallel_tests\n+    exe = executable(t[0], t[1],\n+                     dependencies : libcamera_private,\n+                     link_with : test_libraries,\n+                     include_directories : test_includes_internal)\n+\n+    test(t[0], exe, is_parallel : false)\n+endforeach\n","prefixes":["libcamera-devel"]}