mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 01:46:40 +00:00
Colorize part of test output
This commit is contained in:
3
test.sh
3
test.sh
@@ -25,7 +25,8 @@ testfiles="$(find "$testdir" -name "*-test.sh")"
|
||||
RET=0
|
||||
for testfile in $testfiles; do
|
||||
echo ""
|
||||
echo "running: ${testfile/#$(dirname "$testdir")\//}"
|
||||
echo -en "\033[0;35mrunning: "
|
||||
echo -e "\033[0;36m${testfile/#$(dirname "$testdir")\//}\033[0m"
|
||||
cd "$(dirname "$testfile")"
|
||||
"$testfile"
|
||||
if [ "$?" != "0" ]; then RET=1; fi
|
||||
|
||||
Reference in New Issue
Block a user