run-tests: add command 'all'

'all' includes test 'full', which now succeeds.
This commit is contained in:
Erik Arvstedt 2020-09-28 13:09:10 +02:00
parent 0a6b9beda5
commit bfed10b2fa
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -168,13 +168,26 @@ vmTestNixExpr() {
EOF
}
# A basic subset of tests to keep the total runtime within
# manageable bounds (<3 min on desktop systems).
# These are also run on the CI server.
basic() {
scenario=default buildTest "$@"
scenario=netns buildTest "$@"
scenario=full evalTest "$@"
}
all() {
scenario=default buildTest "$@"
scenario=netns buildTest "$@"
scenario=full buildTest "$@"
}
build() {
if [[ $scenario ]]; then
buildTest "$@"
else
scenario=default buildTest "$@"
scenario=netns buildTest "$@"
scenario=full evalTest "$@"
basic "$@"
fi
}