diff options
author | Camil Staps | 2017-10-05 16:22:10 +0200 |
---|---|---|
committer | Camil Staps | 2017-10-05 16:22:24 +0200 |
commit | 1cf3bad47bf0340050fd290f1f9535dcc8655751 (patch) | |
tree | d277e6ab96480d84d13bba2e3428ba8ce396364e /test/test.sh | |
parent | Test results (diff) |
Add more tests
Diffstat (limited to 'test/test.sh')
-rwxr-xr-x | test/test.sh | 13 |
1 files changed, 10 insertions, 3 deletions
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 |