a few nits with script with color and formatting of output
This commit is contained in:
@@ -183,12 +183,13 @@ fi
|
||||
# do a one-time setup step
|
||||
if (( $skippre == 0 )); then
|
||||
if [[ -f tests/pre ]]; then
|
||||
builtin echo -e "\e[32mdoing one-time pre-test\e[0m (use -s to suppress)"
|
||||
builtin echo -e "\e[33mdoing one-time pre-test\e[0m (use -s to suppress)"
|
||||
source tests/pre
|
||||
if (( $? != 0 )); then
|
||||
echo "pre-test: failed"
|
||||
exit 1
|
||||
fi
|
||||
echo ""
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user