test-reproducibility: coloured messages

This commit is contained in:
Ștefan Talpalaru 2019-02-17 19:01:40 +01:00 committed by zah
parent 4818685c39
commit 5fcfa70be4

View File

@ -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: