test: allow tests to be skipped

This commit is contained in:
Miroslav Lichvar
2014-08-14 17:58:59 +02:00
parent 474b2af1a6
commit f8af299321
2 changed files with 14 additions and 3 deletions

View File

@@ -101,6 +101,11 @@ test_fail() {
exit 1
}
test_skip() {
echo "SKIP"
exit 9
}
test_ok() {
pad_line
echo -e "\tOK"