test: fix tests to skip when missing required feature

This commit is contained in:
Miroslav Lichvar
2018-09-26 18:04:09 +02:00
parent 91dbe3c6c2
commit e8bc41e862
15 changed files with 55 additions and 1 deletions

View File

@@ -84,6 +84,8 @@ done
test_start() {
rm -f tmp/*
echo "Testing $@:"
check_config_h 'FEAT_NTP 1' || test_skip
}
test_pass() {