-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement published test results built in and reduce console chattine…
…ss. (#437) * Reduce build output chattiness. This change deletes the word "package" from several places where it is clear, and deduplicates "starting install" and "installing" messages. Before: ``` PS C:\Dev\vcpkg> .\vcpkg.exe install zlib Computing installation plan... The following packages will be built and installed: zlib[core]:x86-windows -> 1.2.11#13 Detecting compiler hash for triplet x86-windows... Restored 1 packages from C:\Users\bion\AppData\Local\vcpkg\archives in 43.57 ms. Use --debug to see more details. Starting package 1/1: zlib:x86-windows Installing package zlib[core]:x86-windows... Elapsed time for package zlib:x86-windows: 18.41 ms Total elapsed time: 2.266 s The package zlib is compatible with built-in CMake targets: find_package(ZLIB REQUIRED) target_link_libraries(main PRIVATE ZLIB::ZLIB) PS C:\Dev\vcpkg> .\vcpkg.exe remove zlib The following packages will be removed: zlib:x86-windows Removing package zlib:x86-windows... PS C:\Dev\vcpkg> .\vcpkg.exe install zlib --no-binarycaching Computing installation plan... The following packages will be built and installed: zlib[core]:x86-windows -> 1.2.11#13 Detecting compiler hash for triplet x86-windows... Starting package 1/1: zlib:x86-windows Building package zlib[core]:x86-windows... -- Using cached zlib1211.tar.gz. -- Extracting source C:/Dev/vcpkg-downloads/zlib1211.tar.gz -- Applying patch cmake_dont_build_more_than_needed.patch -- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch -- Applying patch add_debug_postfix_on_mingw.patch -- Applying patch 0002-android-build-mingw.patch -- Using source at C:/Dev/vcpkg/buildtrees/zlib/src/1.2.11-e9a093319e.clean -- Configuring x86-windows -- Building x86-windows-dbg -- Building x86-windows-rel -- Installing: C:/Dev/vcpkg/packages/zlib_x86-windows/share/zlib/vcpkg-cmake-wrapper.cmake -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/zlib_x86-windows/lib/pkgconfig/zlib.pc -- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst. -- Using cached msys-mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst. -- Using msys root at C:/Dev/vcpkg-downloads/tools/msys2/9a1ec3f33446b195 -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/zlib_x86-windows/debug/lib/pkgconfig/zlib.pc -- Installing: C:/Dev/vcpkg/packages/zlib_x86-windows/share/zlib/copyright -- Performing post-build validation -- Performing post-build validation done Installing package zlib[core]:x86-windows... Elapsed time for package zlib:x86-windows: 4.83 s Total elapsed time: 7.009 s The package zlib is compatible with built-in CMake targets: find_package(ZLIB REQUIRED) target_link_libraries(main PRIVATE ZLIB::ZLIB) PS C:\Dev\vcpkg> .\vcpkg.exe x-set-installed The following packages will be removed: zlib:x86-windows Starting package 1/1: zlib:x86-windows Removing package zlib:x86-windows... Elapsed time for package zlib:x86-windows: 9.93 ms Restored 0 packages from C:\Users\bion\AppData\Local\vcpkg\archives in 92.5 us. Use --debug to see more details. Total elapsed time: 14.01 ms PS C:\Dev\vcpkg> .\vcpkg.exe remove zlib The following packages are not installed, so not removed: zlib:x86-windows Package zlib:x86-windows is not installed PS C:\Dev\vcpkg> ``` After: ``` PS C:\Dev\vcpkg> ..\vcpkg-tool\out\build\x64-Debug\vcpkg.exe install zlib Computing installation plan... The following packages will be built and installed: zlib[core]:x86-windows -> 1.2.11#13 Detecting compiler hash for triplet x86-windows... Restored 1 packages from C:\Users\bion\AppData\Local\vcpkg\archives in 60.79 ms. Use --debug to see more details. Installing zlib:x86-windows (1/1)... Elapsed time for zlib:x86-windows: 20.03 ms Total elapsed time: 2.662 s The package zlib is compatible with built-in CMake targets: find_package(ZLIB REQUIRED) target_link_libraries(main PRIVATE ZLIB::ZLIB) PS C:\Dev\vcpkg> ..\vcpkg-tool\out\build\x64-Debug\vcpkg.exe remove zlib The following packages will be removed: zlib:x86-windows Removing zlib:x86-windows (1/1)... PS C:\Dev\vcpkg> ..\vcpkg-tool\out\build\x64-Debug\vcpkg.exe install zlib --no-binarycaching Computing installation plan... The following packages will be built and installed: zlib[core]:x86-windows -> 1.2.11#13 Detecting compiler hash for triplet x86-windows... Installing zlib:x86-windows (1/1)... Building zlib[core]:x86-windows... -- Using cached zlib1211.tar.gz. -- Cleaning sources at C:/Dev/vcpkg/buildtrees/zlib/src/1.2.11-e9a093319e.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/Dev/vcpkg-downloads/zlib1211.tar.gz -- Applying patch cmake_dont_build_more_than_needed.patch -- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch -- Applying patch add_debug_postfix_on_mingw.patch -- Applying patch 0002-android-build-mingw.patch -- Using source at C:/Dev/vcpkg/buildtrees/zlib/src/1.2.11-e9a093319e.clean -- Configuring x86-windows -- Building x86-windows-dbg -- Building x86-windows-rel -- Installing: C:/Dev/vcpkg/packages/zlib_x86-windows/share/zlib/vcpkg-cmake-wrapper.cmake -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/zlib_x86-windows/lib/pkgconfig/zlib.pc -- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst. -- Using cached msys-mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst. -- Using msys root at C:/Dev/vcpkg-downloads/tools/msys2/9a1ec3f33446b195 -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/zlib_x86-windows/debug/lib/pkgconfig/zlib.pc -- Installing: C:/Dev/vcpkg/packages/zlib_x86-windows/share/zlib/copyright -- Performing post-build validation -- Performing post-build validation done Elapsed time for zlib:x86-windows: 5.137 s Total elapsed time: 7.36 s The package zlib is compatible with built-in CMake targets: find_package(ZLIB REQUIRED) target_link_libraries(main PRIVATE ZLIB::ZLIB) PS C:\Dev\vcpkg> ..\vcpkg-tool\out\build\x64-Debug\vcpkg.exe remove zlib The following packages will be removed: zlib:x86-windows Removing zlib:x86-windows (1/1)... PS C:\Dev\vcpkg> ..\vcpkg-tool\out\build\x64-Debug\vcpkg.exe remove zlib The following packages are not installed, so not removed: zlib:x86-windows Removing zlib:x86-windows (1/1)... PS C:\Dev\vcpkg> ``` * Built in implementation of microsoft/vcpkg#23477 . Needs tests. * Fix POSIX build failures. * ref-ize SpecSummary as re quested by @dg0yt * Use XmlSerializer to generate xUnit results * Localize touched messages Co-authored-by: Robert Schumacher <[email protected]>
- Loading branch information
1 parent
fa8ab83
commit 8e8fb17
Showing
15 changed files
with
329 additions
and
214 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
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
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
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
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
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.