Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
0cbf5574
Commit
0cbf5574
authored
Oct 21, 2004
by
Andy Cedilnik
Browse files
BUG: Fix reporting of path and full command when test program was not found
parent
ab817f2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/CTest/cmCTestTestHandler.cxx
View file @
0cbf5574
...
...
@@ -407,6 +407,7 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
cmSystemTools
::
ChangeDirectory
(
it
->
m_Directory
.
c_str
());
}
cres
.
m_Name
=
testname
;
cres
.
m_Path
=
it
->
m_Directory
.
c_str
();
if
(
m_TestsToRun
.
size
()
&&
std
::
find
(
m_TestsToRun
.
begin
(),
m_TestsToRun
.
end
(),
cnt
)
==
m_TestsToRun
.
end
())
{
...
...
@@ -448,6 +449,7 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
args
[
1
].
Value
.
c_str
()
<<
"
\n
"
;
if
(
!
m_CTest
->
GetShowOnly
()
)
{
cres
.
m_FullCommandLine
=
actualCommand
;
m_TestResults
.
push_back
(
cres
);
failed
.
push_back
(
testname
);
continue
;
...
...
@@ -611,9 +613,9 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
}
}
}
cres
.
m_Output
=
output
;
cres
.
m_ReturnValue
=
retVal
;
cres
.
m_Path
=
it
->
m_Directory
.
c_str
();
cres
.
m_CompletionStatus
=
"Completed"
;
m_TestResults
.
push_back
(
cres
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment