[gjs: 17/26] tests: Don't output generated coverage data



commit ceacc92e33f7f5b21518d9ac1f87503d7331c629
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Mar 24 19:56:56 2019 -0700

    tests: Don't output generated coverage data
    
    This was quite useful, but because it contains newlines, sadly, it makes
    the output invalid according to the TAP protocol (each line would have
    to be prefixed with '#'.) The Autotools TAP harness ignores this, but
    other TAP harnesses such as Meson's don't.

 test/gjs-test-coverage.cpp | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/test/gjs-test-coverage.cpp b/test/gjs-test-coverage.cpp
index 996bcb94..2f26c0a0 100644
--- a/test/gjs-test-coverage.cpp
+++ b/test/gjs-test-coverage.cpp
@@ -191,8 +191,6 @@ write_statistics_and_get_coverage_data(GjsCoverage *coverage,
                          &coverage_data_contents, nullptr, /* length out */
                          NULL /* etag */,  NULL /* error */);
 
-    g_debug("Coverage data:\n%s", coverage_data_contents);
-
     return coverage_data_contents;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]