Skip to content

Add test coverage for special characters in manifest and west commands#928

Open
marc-hb wants to merge 4 commits intozephyrproject-rtos:mainfrom
marc-hb:backslash-tests
Open

Add test coverage for special characters in manifest and west commands#928
marc-hb wants to merge 4 commits intozephyrproject-rtos:mainfrom
marc-hb:backslash-tests

Conversation

@marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Mar 3, 2026

Pure tests changes.

Prompted by the #920 fix.

cc: @nmunnich

@pdgendt

This comment was marked as resolved.

@marc-hb

This comment was marked as resolved.

@pdgendt

This comment was marked as resolved.

@marc-hb marc-hb force-pushed the backslash-tests branch 2 times, most recently from 7b254a9 to b30eff3 Compare March 4, 2026 05:38
@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.06%. Comparing base (5f5931f) to head (f5e3c7c).
⚠️ Report is 6 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #928      +/-   ##
==========================================
+ Coverage   85.95%   86.06%   +0.11%     
==========================================
  Files          11       11              
  Lines        3454     3460       +6     
==========================================
+ Hits         2969     2978       +9     
+ Misses        485      482       -3     

see 2 files with indirect coverage changes

@marc-hb

This comment was marked as resolved.

marc-hb added 4 commits March 5, 2026 10:48
Minor whitespace changes to get closer with the default yaml.dump()
and west manifest --resolve output formats. This does not reduce diffs
entirely to zero but it does considerably and makes them readable.

Zero functional change.

Signed-off-by: Marc Herbert <[email protected]>
This makes on-the-fly changes to test configurations more convenient.

Signed-off-by: Marc Herbert <[email protected]>
Detect any unexpected changes in the way we've been handling
backslashes and multiple slashes in paths. Changes in how we handle
such edge cases may or may not be desired (and this test may be
updated accordingly), but we never want these changes to come as a
surprise and we want to keep control over them.

This came up as part of the review for
zephyrproject-rtos#920 which fixes
zephyrproject-rtos#725

Signed-off-by: Marc Herbert <[email protected]>
Add some test coverage for forward and backslashes + whitespace in
filenames for west extensions

Spurred by a discussion in the review of
zephyrproject-rtos#920 which fixes
zephyrproject-rtos#725

Signed-off-by: Marc Herbert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants