From 790591035885314ad6d44f466d94093021c6f69a Mon Sep 17 00:00:00 2001 From: Apostolof Date: Sat, 21 Nov 2020 22:59:18 +0200 Subject: [PATCH] Minor improvement for contracts test shell script --- docker/concordia-contracts/test-contracts.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docker/concordia-contracts/test-contracts.sh b/docker/concordia-contracts/test-contracts.sh index 2a64a97..144a4e5 100644 --- a/docker/concordia-contracts/test-contracts.sh +++ b/docker/concordia-contracts/test-contracts.sh @@ -5,13 +5,8 @@ yarn _eslint -f html -o /usr/test-reports/concordia-contracts-eslint.html --no-c (yarn test >/usr/test-reports/concordia-contracts-truffle-tests.report) if [ $? -eq 0 ]; then - # Tests ran successfully - if [ -n "${CI}" ]; then - # This is a ci run - # Create a pass file to alert the ci about test success - # mkdir /usr/test-results && touch /usr/test-results/pass - exit 0 - fi + echo "TESTS RAN SUCCESSFULLY!" + exit 0 else echo "SOME TESTS FAILED!" exit 1