From 69769453e0296c8a33fcb2193b8bc1356d705442 Mon Sep 17 00:00:00 2001 From: Daniel Van Der Maden Date: Fri, 23 Oct 2020 21:18:15 -0700 Subject: [PATCH] [localnet] Add pass message to all tests --- localnet/scripts/run.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/localnet/scripts/run.sh b/localnet/scripts/run.sh index 03fee87..63b45a5 100644 --- a/localnet/scripts/run.sh +++ b/localnet/scripts/run.sh @@ -59,6 +59,11 @@ function go_tests() { fi bash ./scripts/travis_checker.sh || error=1 echo -e "\n=== \e[38;5;0;48;5;255mFINISHED GO TESTS\e[0m ===\n" + if ((error == 1)); then + echo "FAILED GO TESTS" + else + echo "Passed GO tests" + fi popd } @@ -75,6 +80,8 @@ function rpc_tests() { echo -e "\n=== \e[38;5;0;48;5;255mFINISHED RPC TESTS\e[0m ===\n" if ((error == 1)); then echo "FAILED RPC TESTS" + else + echo "Passed RPC tests" fi } @@ -94,6 +101,8 @@ function rosetta_tests() { echo -e "\n=== \e[38;5;0;48;5;255mFINISHED ROSETTA API TESTS\e[0m ===\n" if ((error == 1)); then echo "FAILED ROSETTA TESTS" + else + echo "Passed rosetta tests" fi }