diff options
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 04ebeb1..bf2e7b5 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -42,6 +42,19 @@ require_check () { fi } +skip_models () { + for i in "$@" + do + if test x"$model" != x"$i" + then + continue + fi + t_info "skipping $T since it is not compatible with $model" + exit 0 + done +} + + # given a list of variable names, create temporary files and assign # the pathnames to those variables rtmpfiles () { |