From 80ce73ec2cbf94a1c82fad5772a5867b244fcbf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Mon, 27 Mar 2023 15:15:25 -0700 Subject: [PATCH] tests: add a project group to our test manifest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Exercise that this round-trips properly through a west manifest --freeze. Signed-off-by: Martí Bolívar --- tests/conftest.py | 2 ++ tests/test_project.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 9539038..d108122 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -42,6 +42,8 @@ manifest: - name: Kconfiglib revision: zephyr path: subdir/Kconfiglib + groups: + - Kconfiglib-group - name: tagged_repo revision: v1.0 - name: net-tools diff --git a/tests/test_project.py b/tests/test_project.py index 69ce737..b6fd29b 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -242,6 +242,8 @@ def test_manifest_freeze(west_update_tmpdir): '^ url: .*$', '^ revision: [a-f0-9]{40}$', '^ path: subdir/Kconfiglib$', + '^ groups:$', + '^ - Kconfiglib-group$', '^ - name: tagged_repo$', '^ url: .*$', '^ revision: [a-f0-9]{40}$',