git.annexia.org
/
goals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stdlib: Change print colour functions so they are atomic.
[goals.git]
/
Goalfile.in
diff --git
a/Goalfile.in
b/Goalfile.in
index
32ff7b5
..
0fd2b5b
100644
(file)
--- a/
Goalfile.in
+++ b/
Goalfile.in
@@
-147,15
+147,9
@@
goal test (name) = @{
t=`basename %name`
cd tests
if ../run ./$t > $t.log 2>&1; then
- start_green
- echo -n "PASS: "
- end_colour
- echo $t
+ print_green "PASS:" $t
else
- start_red
- echo -n "FAIL: "
- end_colour
- echo $t
+ print_red "FAIL:" $t
exit 1
fi
}