Per gson@'s request, make these tests less verbose so that the output of

atf-run is not twice as large as before.  This is a pull-up of
699284e5c0d0a375958293e578af4e02d68d1182.

(I don't think it's reasonable to intentionally cripple tests as I have
just done here.  In the future I would like to only report the output of
failed test cases, which would allow us to undo this, but not there yet.)
This commit is contained in:
jmmv 2010-10-20 16:25:01 +00:00
parent 177b6d9664
commit 6098e2d456

View File

@ -328,7 +328,12 @@ check_stream(std::ostream& os)
class mock_muxer : public atf::atf_run::muxer {
void line_callback(const size_t index, const std::string& line)
{
std::cout << "line_callback(" << index << ", " << line << ")\n";
// The following should be enabled but causes the output to be so big
// that it is annoying. Reenable at some point if we make atf store
// the output of the test cases in some other way (e.g. only if a test
// failes), because this message is the only help in seeing how the
// test fails.
//std::cout << "line_callback(" << index << ", " << line << ")\n";
check_stream(std::cout);
switch (index) {
case 0: lines0.push_back(line); break;