> The documentation for ctest_configure(), ctest_build(), and ctest_submit()
> isn't completely clear on what happens if one of these steps fails. Let's
> say I have the following dashboard script (this is pseudocode, arguments
> have been deliberately omitted for brevity, this example won't work):
On 05/25/2018 04:27 PM, Kyle Edwards wrote:
> ctest_start()
> ctest_configure()
> ctest_build()
> ctest_test()
> ctest_submit()
>
> What happens if ctest_configure() fails (for example, because CMake
> failed to find a needed library)? Does the entire script stop right
> there? Or does it contin
Hi all,
I'm working on a set of build scripts that use CMake and CTest, and I'm
trying to figure out the best way to handle failures in CTest (I'm using
a dashboard script internally.) If the configure or build step fails, I
want the failure to be reported to CDash with ctest_submit(), but I a