[PATCH] test-abicomat.cc: Don't show details about PASSing tests.

Dodji Seketeli dodji@redhat.com
Fri Mar 1 17:20:14 GMT 2024


Hello,

While looking at something else, I noticed that this test was emitting
details about the tests that PASS, cluttering the output a lot.  Fixed
thus.

	* tests/test-abicompat.cc (main): Don,'t emit details for PASSed
	tests.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applying to the master branch
---
 tests/test-abicompat.cc | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/tests/test-abicompat.cc b/tests/test-abicompat.cc
index e7b21959..075882ab 100644
--- a/tests/test-abicompat.cc
+++ b/tests/test-abicompat.cc
@@ -263,14 +263,7 @@ main()
 	is_ok = false;
 
       if (is_ok)
-        {
-	  cout << BRIGHT_YELLOW_COLOR
-               << "Test Passed:"
-               << DEFAULT_TERMINAL_COLOR
-               << cmd
-               << std::endl;
-	  cnt_passed++;
-	}
+	cnt_passed++;
       else
         {
 	  cout << BRIGHT_RED_COLOR
-- 
2.39.3


-- 
		Dodji



More information about the Libabigail mailing list