summaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
authorCamil Staps2017-10-05 16:22:10 +0200
committerCamil Staps2017-10-05 16:22:24 +0200
commit1cf3bad47bf0340050fd290f1f9535dcc8655751 (patch)
treed277e6ab96480d84d13bba2e3428ba8ce396364e /test/test.sh
parentTest results (diff)
Add more tests
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh13
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