[cmake-developers] [CMake 0013169]: Internal misconfiguration leads to weird error messages: "Cannot create directory /Testing/Temporary"
Mantis Bug Tracker
mantis at public.kitware.com
Wed Apr 25 14:28:39 EDT 2012
The following issue has been SUBMITTED.
Reported By: askalex
Issue ID: 13169
Date Submitted: 2012-04-25 20:28 CEST
Last Modified: 2012-04-25 20:28 CEST
Summary: Internal misconfiguration leads to weird error
messages: "Cannot create directory /Testing/Temporary"
When calling "ctest_submit" under certain circumstances, the following error
message shows up:
Cannot create directory /Testing/Temporary
Cannot create log file: LastSubmit.log
Steps to Reproduce:
In a unix shell do:
>% echo 'ctest_submit( FILES ctesttest.ctest )' > ctesttest.ctest
>% ctest -S ctesttest.ctest
If you do
>% ctest --debug -S ctesttest.ctest
the output gives the first hint where to start searching:
.../cmake-2.8.8/Source/cmCTest.cxx:899 Cannot create directory
Reading cmCTest.cxx shows, that the member this->BinaryDir seems not to be
initialized correctly (which is used as prefix in testingDir in
Neither cmCTest::Initialize() nor cmCTest::UpdateCTestConfiguration() seem to
get called to do the initialisation of this->BinaryDir when ctest is run in the
described way. For me it looks weird, that cmCTest::Initialize() is called in
only one case in cmCTest::Run() (line 2440) of nested if statements, but I
didn't try to understand this code in detail.
While this doesn't seem to do any harm in my use case it points to a bug which
may have more annoying effects in other cases.
Date Modified Username Field Change
2012-04-25 20:28 askalex New Issue
More information about the cmake-developers