Files
docrawler/util/testfilter.sh
2015-02-16 16:26:16 -08:00

8 lines
211 B
Bash
Executable File

#!/bin/sh
# colorize the output of "go test"
sed ''/^ok/s//$(printf "\033[32;1m&\033[0m")/'' | \
sed ''/PASS/s//$(printf "\033[32;1m&\033[0m")/'' | \
sed ''/FAIL/s//$(printf "\033[31;1m&\033[0m")/''