-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vcpkg_fixup_pkgconfig] Check for more problems, add unit test (#23898)
* Print stack traces for failed unit tests * Add test for vcpkg_fixup_pkgconfig.cmake * Check for 'optimized' and 'debug' in pc files * Check for 'NOTFOUND' and for 'ns::target' in pc files * Check for, and fix, line continuations * Test file path substitutions * Move contents processing into separate function * Update and leverage line break normalization * Pass prefix to data processing * Validate only the collapsed Libs * Test removal of '<field>.private' * Declare unit test license (same as vcpkg) * Replace ';' with ' ' in 'Libs:' * Disambiguate parameter variable names * Test quoting of variables * Fix quoting of variables * Quote whole parameters * Process and quote libs item-wise * Resolve keywords 'optimized', 'debug', 'debug' * Consistency * CI [skip actions] * CI [skip actions] * Don't fail on detected errors * Disable unit-testing for fatal errors Co-authored-by: Billy O'Neal <bion@microsoft.com>
- Loading branch information
1 parent
d02bde4
commit edcf949
Showing
4 changed files
with
290 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.