Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97E9236BCD4 for ; Wed, 11 Feb 2026 12:46:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770813977; cv=none; b=ZtcLnabrWQzo/3iemjUNiOsUFTrTt+Bsax0JvdazF+Tz44mz/7QaYBn+Rw98GM29jFbtSbeoPZ7MTzCG6GGX4qKZoekzi3pgU/g7Ugi3x9FFIEVTw16qn137lKwZfh2UUpgiORssSouDX9ZpSGdKgOiEhLqmeQHu1YOsRUxY7S8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770813977; c=relaxed/simple; bh=XMidsdx3VRwha/rmd90G2l5eNbhb9ruZgdZIflldr58=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LK1G3ykl+9r1iW8HAajxlpyh5X0691c7d8FoskN01Wj8IJmApaQA/vXXCQ+oIr9HKt1AUmjOYbRfPkd4UxDHh+uyLEDPft2U+ugke6FP/unEObLvmDH6ypXahQsKMcJ1YukLONb1kQGTZfc7e18uRIIhLI8G/vhLR+09YR8c/nw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hadess.net; spf=pass smtp.mailfrom=hadess.net; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hadess.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hadess.net Received: by mail.gandi.net (Postfix) with ESMTPSA id BD07344214 for ; Wed, 11 Feb 2026 12:46:01 +0000 (UTC) From: Bastien Nocera To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v8 10/15] unit: Make gobex-transfer tests run concurrently Date: Wed, 11 Feb 2026 13:42:06 +0100 Message-ID: <20260211124550.3830639-11-hadess@hadess.net> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260211124550.3830639-1-hadess@hadess.net> References: <20260211124550.3830639-1-hadess@hadess.net> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: hadess@hadess.net X-GND-State: clean X-GND-Score: 0 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvtddvheelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecunecujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeeurghsthhivghnucfpohgtvghrrgcuoehhrgguvghssheshhgruggvshhsrdhnvghtqeenucggtffrrghtthgvrhhnpeekteetgeettdehieduiedttdetffelleehtdejkeeluedvgfffvdevteetudfhkeenucfkphepvdgrtddumegvfeegmegvtgejfeemtghfvddtmeelsgdvleemtggufeeimeeikehfugemtgdtleefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdgrtddumegvfeegmegvtgejfeemtghfvddtmeelsgdvleemtggufeeimeeikehfugemtgdtleefpdhhvghlohepohhlihhmphhitgdpmhgrihhlfhhrohhmpehhrgguvghssheshhgruggvshhsrdhnvghtpdhqihgupeeuffdtjeefgeegvddugedpmhhouggvpehsmhhtphhouhhtpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqsghluhgvthhoohhthhesvhhgvghrrdhkvghrnhgvlhdrohhrgh --- unit/meson.build | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/unit/meson.build b/unit/meson.build index b74a67541e99..9acae732d495 100644 --- a/unit/meson.build +++ b/unit/meson.build @@ -70,15 +70,18 @@ tests3 = [ [ 'test-avdtp.c', '../src/log.c', 'avdtp.c' ], [ 'test-avctp.c', '../src/log.c', 'avctp.c' ], ] +tests4 = [] if ical_dep.found() tests3 += [ [ 'test-gobex.c', 'util.c', gobex_sources ], [ 'test-gobex-packet.c', 'util.c', gobex_sources ], [ 'test-gobex-header.c', 'util.c', gobex_sources ], - [ 'test-gobex-transfer.c', 'util.c', gobex_sources ], [ 'test-gobex-apparam.c', 'util.c', gobex_sources ], ] + tests4 = [ + [ 'test-gobex-transfer.c', 'util.c', gobex_sources ], + ] endif foreach t: tests3 @@ -92,6 +95,22 @@ foreach t: tests3 test(test_name, exe) endforeach +foreach t: tests4 + test_name = t[0].substring(0, -2) + exe = executable(test_name, + sources: t, + c_args: [ '-DSTORAGEDIR="@0"'.format(storagedir) ], + include_directories: '../lib', + dependencies: libshared_glib_dep + ) + + r = run_command(sh, unittest_list, t, check: true) + unit_tests = r.stdout().strip().split(' ') + foreach ut: unit_tests + test(ut, exe, args: [ '-p', ut ]) + endforeach +endforeach + exe = executable('test-gdbus-client', sources: 'test-gdbus-client.c', dependencies: [ libgdbus_internal_dep, libshared_glib_dep ] -- 2.52.0