CMake

CPackComponentsForAll-ZIP-OnePackPerGroup

command_line: D:\a\nightly-builds\nightly-builds\build\bin\ctest.exe "-C" "Debug" "--build-and-test" "D:/a/nightly-builds/nightly-builds/Tests/CPackComponentsForAll" "D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup" "--build-generator" "Ninja" "--build-makeprogram" "C:/ProgramData/chocolatey/bin/ninja.exe" "--build-project" "CPackComponentsForAll" "--build-options" "-DCPACK_GENERATOR:STRING=ZIP" "-DCPACK_BINARY_ZIP:BOOL=ON" "-DCPackComponentWay=OnePackPerGroup" "--graphviz=CPackComponentsForAll.dot" "--test-command" "D:/a/nightly-builds/nightly-builds/build/bin/cmake" "-DCPackComponentsForAll_BINARY_DIR:PATH=D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup" "-DCPackGen=ZIP" "-DCPackComponentWay=OnePackPerGroup" "-P" "D:/a/nightly-builds/nightly-builds/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake"

working_directory: "./Tests"

Processors: 1

Execution Time: 7.013

Completion Status: Completed

Environment: #CTEST_RESOURCE_GROUP_COUNT=

stdout:

Internal cmake changing into directory: D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup
======== CMake output     ======
The C compiler identification is MSVC 19.43.34808.0
The CXX compiler identification is MSVC 19.43.34808.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:44 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring done (4.5s)
Generating done (0.3s)
Generate graphviz: D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup/CPackComponentsForAll.dot
Build files have been written to: D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup
======== End CMake output ======
Change Dir: 'D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup'

Run Clean Command: C:/ProgramData/chocolatey/bin/ninja.exe clean
[1/1] Cleaning all built files...
Cleaning... 0 files.

Run Build Command(s): C:/ProgramData/chocolatey/bin/ninja.exe
[1/6] Building CXX object CMakeFiles\mylibapp2.dir\mylibapp.cpp.obj
[2/6] Building CXX object CMakeFiles\mylibapp.dir\mylibapp.cpp.obj
[3/6] Building CXX object CMakeFiles\mylib.dir\mylib.cpp.obj
[4/6] Linking CXX static library mylib.lib
[5/6] Linking CXX executable mylibapp.exe
[6/6] Linking CXX executable mylibapp2.exe

Running test command: "D:/a/nightly-builds/nightly-builds/build/bin/cmake.exe" "-DCPackComponentsForAll_BINARY_DIR:PATH=D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup" "-DCPackGen=ZIP" "-DCPackComponentWay=OnePackPerGroup" "-P" "D:/a/nightly-builds/nightly-builds/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake"
-- =============================================================================
-- CTEST_FULL_OUTPUT (Avoid ctest truncation of output)
-- 
CMAKE_CPACK_COMMAND = D:/a/nightly-builds/nightly-builds/build/bin/cpack.exe
config_args = -C;Debug
config_verbose = 
-- CPack_output=CPack: Create package using ZIP
CPack: Install projects
CPack: - Install project: CPackComponentsForAll [Debug]
CPack: -   Install component: applications
CPack: -   Install component: libraries
CPack: -   Install component: headers
CPack: -   Install component: Unspecified
CPack: Create package
CPack: - package: D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup/MyLib-1.0.2-win64-Development.zip generated.
CPack: - package: D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup/MyLib-1.0.2-win64-Runtime.zip generated.
CPack: - package: D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup/MyLib-1.0.2-win64-Unspecified.zip generated.

-- expected_count='3'
-- expected_file='D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup/MyLib-1.0.2-win64-Development.zip;D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup/MyLib-1.0.2-win64-Runtime.zip;D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup/MyLib-1.0.2-win64-Unspecified.zip'
-- expected_file_mask='D:/a/nightly-builds/nightly-builds/build/Tests/CPackComponentsForAll/buildZIP-OnePackPerGroup/MyLib-*.zip'
-- actual_count='3'
Status: passed
Loading...