mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 07:27:49 +08:00
edcf949452
* 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>
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"name": "unit-test-cmake",
|
|
"version-string": "0",
|
|
"description": "Ensures that the CMake scripts are unit tested.",
|
|
"license": "MIT",
|
|
"supports": "x64",
|
|
"default-features": [
|
|
"backup-restore-env-vars",
|
|
"fixup-pkgconfig",
|
|
"function-arguments",
|
|
"host-path-list",
|
|
"list",
|
|
"merge-libs",
|
|
"minimum-required",
|
|
"setup-pkgconfig-path"
|
|
],
|
|
"features": {
|
|
"backup-restore-env-vars": {
|
|
"description": "Test the vcpkg_backup/restore_env_vars functions"
|
|
},
|
|
"fixup-pkgconfig": {
|
|
"description": "Test the vcpkg_fixup_pkgconfig function"
|
|
},
|
|
"function-arguments": {
|
|
"description": "Test the z_vcpkg_function_arguments function"
|
|
},
|
|
"host-path-list": {
|
|
"description": "Test the vcpkg_host_path_list function"
|
|
},
|
|
"list": {
|
|
"description": "Test the vcpkg_list function"
|
|
},
|
|
"merge-libs": {
|
|
"description": "Test the z_vcpkg_cmake_config_fixup_merge_lists function",
|
|
"dependencies": [
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
]
|
|
},
|
|
"minimum-required": {
|
|
"description": "Test the vcpkg_minimum_required function"
|
|
},
|
|
"setup-pkgconfig-path": {
|
|
"description": "Test the z_vcpkg_setup/restore_pkgconfig_path functions"
|
|
}
|
|
}
|
|
}
|