Skip to content

Commit

Permalink
tests: Add submodule case to Kconfiglib
Browse files Browse the repository at this point in the history
Add a minimal test to validate submodule output for --freeze and
--resolve.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
  • Loading branch information
pdgendt committed Sep 20, 2024
1 parent e87be81 commit 9059122
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
path: subdir/Kconfiglib
groups:
- Kconfiglib-group
submodules: true
- name: tagged_repo
revision: v1.0
- name: net-tools
Expand Down Expand Up @@ -189,6 +190,7 @@ def repos_tmpdir(tmpdir, _session_repos):
- name: Kconfiglib
revision: zephyr
path: subdir/Kconfiglib
submodules: true
- name: tagged_repo
revision: v1.0
- name: net-tools
Expand Down
1 change: 1 addition & 0 deletions tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ def test_manifest_freeze(west_update_tmpdir):
'^ path: subdir/Kconfiglib$',
'^ groups:$',
'^ - Kconfiglib-group$',
'^ submodules: true$',
'^ - name: tagged_repo$',
'^ url: .*$',
'^ revision: [a-f0-9]{40}$',
Expand Down

0 comments on commit 9059122

Please sign in to comment.