Skip to content

CTest: Represent process exit codes as 64-bit signed integer

Brad King requested to merge brad.king/cmake:ctest-exit-code-int64 into master

Exit code constants on Windows, such as STATUS_NO_MEMORY do not fit in a 32-bit signed integer type. They do fit in an unsigned 32-bit type, but for compatibility with UNIX semantics we treat exit codes as signed. Use a 64-bit signed integer to handle both.

Author: @dutow

Merge request reports