aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-01 19:18:55 +0800
committerGitHub <noreply@github.com>2018-10-01 19:18:55 +0800
commit658bef5a3845b78e1f9bc8965bbebbd567adbc1e (patch)
tree3b8093c5d47129005fe02a30a044b29b43e7e0f7 /scripts
parenta17d480fc299eb3c81340b2b660b3163f6ebc3e4 (diff)
parent25f35653407caac0da084e52f998c76b062f260c (diff)
downloaddexon-solidity-658bef5a3845b78e1f9bc8965bbebbd567adbc1e.tar.gz
dexon-solidity-658bef5a3845b78e1f9bc8965bbebbd567adbc1e.tar.zst
dexon-solidity-658bef5a3845b78e1f9bc8965bbebbd567adbc1e.zip
Merge pull request #5115 from mestorlx/cleancircleci
removed stray (B in CI test output
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tests.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index 1c0fc590..c284c05c 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -100,8 +100,14 @@ else
log_directory=""
fi
-function printError() { echo "$(tput setaf 1)$1$(tput sgr0)"; }
-function printTask() { echo "$(tput bold)$(tput setaf 2)$1$(tput sgr0)"; }
+if [ "$CIRCLECI" ]
+then
+ function printTask() { echo "$(tput bold)$(tput setaf 2)$1$(tput setaf 7)"; }
+ function printError() { echo "$(tput setaf 1)$1$(tput setaf 7)"; }
+else
+ function printTask() { echo "$(tput bold)$(tput setaf 2)$1$(tput sgr0)"; }
+ function printError() { echo "$(tput setaf 1)$1$(tput sgr0)"; }
+fi
printTask "Running commandline tests..."
# Only run in parallel if this is run on CI infrastructure