Module Name:    src
Committed By:   jmmv
Date:           Wed Oct 20 16:25:01 UTC 2010

Modified Files:
        src/external/bsd/atf/dist/atf-run: io_test.cpp

Log Message:
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.)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/atf/dist/atf-run/io_test.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/atf/dist/atf-run/io_test.cpp
diff -u src/external/bsd/atf/dist/atf-run/io_test.cpp:1.1.1.1 src/external/bsd/atf/dist/atf-run/io_test.cpp:1.2
--- src/external/bsd/atf/dist/atf-run/io_test.cpp:1.1.1.1	Wed Oct 20 09:14:23 2010
+++ src/external/bsd/atf/dist/atf-run/io_test.cpp	Wed Oct 20 16:25:01 2010
@@ -328,7 +328,12 @@
 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;

Reply via email to