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

@@ -1,8 +1,11 @@
#!/bin/bash
. ./test.common
test_start "tai option"
check_config_h 'FEAT_REFCLOCK 1' || test_skip
export CLKNETSIM_START_DATE=$(TZ=UTC date -d 'Dec 31 2008 23:50:00' +'%s')
leap=$[10 * 60]