From 5bb41a9ba2d5b25d15a6b03741cecb4f7c8e5186 Mon Sep 17 00:00:00 2001 From: Sameh Abouel-saad Date: Mon, 16 Dec 2024 18:56:18 +0200 Subject: [PATCH] show the final outcome in diffrent color --- tools/rmb_tester/rmb_tester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rmb_tester/rmb_tester.py b/tools/rmb_tester/rmb_tester.py index 4632100..35c5453 100755 --- a/tools/rmb_tester/rmb_tester.py +++ b/tools/rmb_tester/rmb_tester.py @@ -154,10 +154,10 @@ def main(): print(f"twins not responding (twin IDs): {' '.join(map(str, not_responding))}") print(f"elapsed time: {elapsed_time}") if responses_expected == success_count: - print("🎉 All responses received successfully! 🎉") + print("\033[92m🎉 All responses received successfully! 🎉\033[0m") else: missing_responses = (no_responses / responses_expected) * 100 - print(f"⚠️ Warning: {missing_responses:.2f}% of responses are missing! ⚠️") + print("\033[93m⚠️ Warning: {missing_responses:.2f}% of responses are missing! ⚠️\033[0m") print("=======================") if not args.short: