From 2ffdbb4d91c65d03c2b2ed6740138b7c789b83bb Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Tue, 27 Feb 2018 00:02:57 +0100 Subject: [PATCH] Suppress repeated message in unit tests if not required. --- src/unit_tests/unit_test_main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unit_tests/unit_test_main.cc b/src/unit_tests/unit_test_main.cc index e64406a91..3047d7b66 100644 --- a/src/unit_tests/unit_test_main.cc +++ b/src/unit_tests/unit_test_main.cc @@ -74,7 +74,7 @@ static bool run_test (tl::TestBase *t, bool editable, bool slow, int repeat) { for (int i = 0; i < repeat; ++i) { - if (repeat > 0) { + if (repeat > 1) { ut::noctrl << "Repeat iteration " << i + 1 << " of " << repeat; } if (! t->do_test (editable, slow)) {