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
|
# do a one-time setup step
|
||||||
if (( $skippre == 0 )); then
|
if (( $skippre == 0 )); then
|
||||||
if [[ -f tests/pre ]]; 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
|
source tests/pre
|
||||||
if (( $? != 0 )); then
|
if (( $? != 0 )); then
|
||||||
echo "pre-test: failed"
|
echo "pre-test: failed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo ""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user