From 1cf3bad47bf0340050fd290f1f9535dcc8655751 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 5 Oct 2017 16:22:10 +0200 Subject: Add more tests --- test/test.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'test/test.sh') diff --git a/test/test.sh b/test/test.sh index 8014554..0d8b84d 100755 --- a/test/test.sh +++ b/test/test.sh @@ -1,7 +1,14 @@ #!/bin/bash -RED='\033[0;31m' -GREEN='\033[0;32m' -RESET='\033[0m' + +if [ "$1" != "--no-color" ]; then + RED='\033[0;31m' + GREEN='\033[0;32m' + RESET='\033[0m' +else + RED= + GREEN= + RESET= +fi for f in database/*.in; do -- cgit v1.2.3