Open-CMSIS-Pack / devtools

Open-CMSIS-Pack development tools - C++
Apache License 2.0
70 stars 51 forks source link

Windows: discover generator's file extension #1511

Closed grasci-arm closed 2 months ago

grasci-arm commented 2 months ago

In case generator executable contains no extension, try to append ".com", ".exe" and ".bat" to get real file name. That is needed to launch an executable via CreateProcess() WinApi method

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.23%. Comparing base (8639c9d) to head (beae1b6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1511 +/- ## ======================================= Coverage 63.23% 63.23% ======================================= Files 162 162 Lines 30764 30764 Branches 18860 18860 ======================================= Hits 19453 19453 - Misses 7472 7486 +14 + Partials 3839 3825 -14 ``` | [Flag](https://app.codecov.io/gh/Open-CMSIS-Pack/devtools/pull/1511/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Open-CMSIS-Pack) | Coverage Δ | | |---|---|---| | [buildmgr-cov](https://app.codecov.io/gh/Open-CMSIS-Pack/devtools/pull/1511/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Open-CMSIS-Pack) | `74.12% <ø> (ø)` | | | [packchk-cov](https://app.codecov.io/gh/Open-CMSIS-Pack/devtools/pull/1511/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Open-CMSIS-Pack) | `65.54% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Open-CMSIS-Pack#carryforward-flags-in-the-pull-request-comment) to find out more. [see 13 files with indirect coverage changes](https://app.codecov.io/gh/Open-CMSIS-Pack/devtools/pull/1511/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Open-CMSIS-Pack)