From 5fcfa70be43537946a7a2966768732f9843d6ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Sun, 17 Feb 2019 19:01:40 +0100 Subject: [PATCH] test-reproducibility: coloured messages --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 15d859fdd..4d1ec9fe8 100644 --- a/Makefile +++ b/Makefile @@ -135,8 +135,8 @@ test-reproducibility: rm -rf nimcache/*/nimbus && \ $(MAKE) V=0 nimbus && \ MD5SUM2=$$($(MD5SUM) build/nimbus | cut -d ' ' -f 1) && \ - [ "$$MD5SUM1" = "$$MD5SUM2" ] && echo "Success: identical binaries." || \ - { echo "Failure: the binary changed between builds."; exit 1; } + [ "$$MD5SUM1" = "$$MD5SUM2" ] && echo -e "\e[92mSuccess: identical binaries.\e[39m" || \ + { echo -e "\e[91mFailure: the binary changed between builds.\e[39m"; exit 1; } # usual cleaning clean: