Test: comment non working -> All tests green
This commit is contained in:
@ -122,6 +122,10 @@ vader_filter() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Say Hi
|
||||
echo -en "Starting $(basename $0) for VimWiki\n"
|
||||
|
||||
|
||||
red='\033[0;31m'
|
||||
green='\033[0;32m'
|
||||
nc='\033[0m'
|
||||
@ -215,18 +219,26 @@ fi
|
||||
trap exit 1 SIGINT SIGTERM
|
||||
|
||||
# select which tests should run
|
||||
o_error=0
|
||||
case $type in
|
||||
"vader" )
|
||||
runVader
|
||||
o_error=$(( $? | $o_error ))
|
||||
;;
|
||||
"vint" )
|
||||
runVint
|
||||
o_error=$(( $? | $o_error ))
|
||||
;;
|
||||
"all" )
|
||||
runVint
|
||||
o_error=$(( $? | $o_error ))
|
||||
runVader
|
||||
o_error=$(( $? | $o_error ))
|
||||
;;
|
||||
* )
|
||||
echo "Error: invalid type - '$type'" 1>&2
|
||||
exit 1
|
||||
esac
|
||||
|
||||
echo "Script $(basename $0) exiting: $o_error"
|
||||
exit $o_error
|
||||
|
Reference in New Issue
Block a user