kodev: error out on invalid test suit

This commit is contained in:
Qingping Hou
2016-10-28 00:26:56 -07:00
parent 529d505585
commit 3de3fb9b14

5
kodev
View File

@@ -294,6 +294,11 @@ OPTIONS:
done
[ $# -lt 1 ] && { echo "${TEST_HELP_MSG}"; exit 1; }
[[ $1 != "front" && $1 != "base" ]] && {
echo "Invalid test suite: $1!"
echo "${TEST_HELP_MSG}"
exit 1
}
check_submodules && make
setup_env