summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testUVProcessChain.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmuvprocesschain'Brad King2024-01-251-4/+1
|\ | | | | | | | | | | | | | | | | | | adb3e13d32 cmUVProcessChain: Tolerate fileno() of invalid FILE stream b6e4e4babc cmUVProcessChain: Simplify SetExternalStream usage 116bb2b70f cmUVProcessChain: Simplify builder initialization d32c30906a Tests: Add missing include in testUVProcessChainHelper on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9181
| * cmUVProcessChain: Simplify SetExternalStream usageBrad King2024-01-241-4/+1
| | | | | | | | | | It is commonly called with the `fileno()` of a `FILE*` stream, so accept the latter directly.
* | cmUVProcessChain: Add option for external uv_loop_tKyle Edwards2023-12-051-1/+52
|/
* Source: Add cm_fileno wrapperKyle Edwards2023-08-071-1/+4
| | | | And use it where appropriate.
* IWYU: Update for Debian 12 CI jobBrad King2023-07-281-1/+0
| | | | | | `include-what-you-use` diagnostics, in practice, are specific to the environment's compiler and standard library. Update includes to satisfy IWYU for our CI job under Debian 12.
* cmUVProcessChain::Wait(): Treat timeout of 0 as no timeoutKyle Edwards2023-07-261-0/+19
|
* cmUVProcessChain: Return output and error streams as file descriptorsKyle Edwards2023-06-141-21/+30
|
* cmUVProcessChain: Add support for SetExternalStream(Stream_INPUT)Kyle Edwards2023-06-121-0/+33
|
* cmUVProcessChain: Add Status::SpawnResult fieldKyle Edwards2023-06-081-62/+201
|
* cmUVProcessChain: Add Status::GetException() methodKyle Edwards2023-06-051-11/+59
|
* cmUVProcessChain: Add Finished() methodKyle Edwards2023-05-311-0/+12
|
* cmUVProcessChain: Add option for merged output and errorKyle Edwards2023-05-261-0/+60
|
* cmUVProcessChain: Add working directory optionKyle Edwards2023-05-261-0/+62
|
* Source: fix many -Wmissing-prototypes warnings by marking functions staticSean McBride2021-10-251-8/+10
|
* test/CMakeLib: make testUVProcessChain work with qemuEicke Herbertz2020-10-291-0/+4
| | | | | | | | | When building and testing CMake in a container with qemu user mode emulation, the expected termination with std::abort() in testUVProcessChainHelper leads qemu to emit an additional message about an uncaught signal. There appears to be no way to make qemu shut up, so any qemu message will be removed from the output during validation.
* Refactoring: Third-parties public headers are under cm3p prefixMarc Chevrier2020-05-071-1/+1
| | | | Fixes: #20666
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-10/+8
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* cmstd: Modernize CMake system headersMarc Chevrier2019-09-201-1/+1
| | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491
* modernize: manage cmCommand instances using unique_ptr.Marc Chevrier2019-07-141-1/+0
|
* Introduce memory management helper: cm_memory.hxxMarc Chevrier2019-07-141-1/+2
|
* IWYU: Fix handling of <memory> standard headerBrad King2019-07-101-0/+1
| | | | | | | | An old workaround for `std::allocator_traits<>::value_type` lints from IWYU on `std::vector<>` usage breaks IWYU's handling of `<memory>`. Convert the workaround to use the same approach we already use for a workaround of `std::__decay_and_strip<>::::__type` lints. Then update the `<memory>` inclusions to follow the now-correct IWYU lints.
* cmUVProcessChain: Add cmUVProcessChainKyle Edwards2019-05-071-0/+335
This class is ultimately intended as a replacement for cmsys::Process. It spawns a series of processes using libuv, piping the output of each command into the next. Note: input support has not yet been implemented because write support has not yet been implemented on cmUVStreambuf.