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
0c6d0285
Commit
0c6d0285
authored
Aug 08, 2003
by
Andy Cedilnik
Browse files
ENH: Flush the output file, to make more nice output for tail -f
parent
a36bd0b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmCTest.cxx
View file @
0c6d0285
...
...
@@ -2099,6 +2099,7 @@ std::string cmCTest::GetTestModelString()
}
return
"Experimental"
;
}
bool
cmCTest
::
RunMakeCommand
(
const
char
*
command
,
std
::
string
*
output
,
int
*
retVal
,
const
char
*
dir
,
bool
verbose
,
int
timeout
,
std
::
ofstream
&
ofs
)
{
...
...
@@ -2159,6 +2160,7 @@ bool cmCTest::RunMakeCommand(const char* command, std::string* output,
if
(
ofs
)
{
ofs
.
write
(
data
,
length
);
ofs
.
flush
();
}
}
std
::
cout
<<
" Size of output: "
;
...
...
Write
Preview
Supports
Markdown
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