[CMake] using ctest launchers leads to empty warning/error messages on the dashboard
Matthias Kretz
kretz at kde.org
Fri Jul 24 05:28:13 EDT 2015
On Friday 24 July 2015 10:23:48 Matthias Kretz wrote:
> set(ENV{CTEST_USE_LAUNCHERS_DEFAULT} "ON")
>
> I don't get any output on the CDash dashboard anymore. AFAICT the Build
> directory in Testing/tag/ is removed but never recreated.
With the following patch I get output back to the dashboard:
--- a/Source/CTest/cmCTestLaunch.cxx
+++ b/Source/CTest/cmCTestLaunch.cxx
@@ -207,6 +207,7 @@ void cmCTestLaunch::ComputeFileNames()
this->LogDir = d;
cmSystemTools::ConvertToUnixSlashes(this->LogDir);
this->LogDir += "/";
+ cmSystemTools::MakeDirectory(this->LogDir);
// We hash the input command working dir and command line to obtain
// a repeatable and (probably) unique name for log files.
But the dashboard still shows the conflated output of the parallel build
instead of the correct context per source/object file.
Cheers,
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150724/f4ab87fc/attachment.sig>
More information about the CMake
mailing list