Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[csolution/packchk] 'name' attribute specifying folder in pack with file element causes segmentation fault. #657 (#482) #754

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

grasci-arm
Copy link
Collaborator

#657

…ile element causes segmentation fault. Open-CMSIS-Pack#657 (Open-CMSIS-Pack#482)

* [csolution/packchk] 'name' attribute specifying folder in pack with file element causes segmentation fault. Open-CMSIS-Pack#657

Open-CMSIS-Pack#657

- added: check all <file> but category="include" against IsDirectory()
- removed file check filter for some of the known types, as <file> can be one of file table:
  https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/pdsc_components_pg.html#FileCategoryEnum
- added test case for new message M356 ("Path '%PATH%' does not specify a file!")
@codecov
Copy link

codecov bot commented Feb 21, 2023

Codecov Report

Merging #754 (5517200) into main (4dd0f9f) will increase coverage by 0.00%.
The diff coverage is 33.33%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #754   +/-   ##
=======================================
  Coverage   51.46%   51.47%           
=======================================
  Files         116      116           
  Lines       21543    21544    +1     
  Branches    11872    11874    +2     
=======================================
+ Hits        11087    11089    +2     
  Misses       8442     8442           
+ Partials     2014     2013    -1     
Flag Coverage Δ
packchk-cov 50.85% <33.33%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tools/packchk/src/CheckFiles.cpp 47.25% <33.33%> (+0.38%) ⬆️

@github-actions
Copy link

Test Results

    8 files    16 suites   7s ⏱️
  27 tests   27 ✔️ 0 💤 0
108 runs  108 ✔️ 0 💤 0

Results for commit 5517200.

@JonatanAntoni JonatanAntoni self-requested a review February 21, 2023 13:15
@JonatanAntoni JonatanAntoni merged commit c4fbc23 into Open-CMSIS-Pack:main Feb 21, 2023
@JonatanAntoni JonatanAntoni deleted the outbound/git#657 branch February 21, 2023 13:18
grasci-arm pushed a commit to ARM-software/devtools that referenced this pull request Dec 14, 2023
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.

3 participants