diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-05-14 15:52:17 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-05-14 18:17:08 -0700 |
commit | 5f854e876ba55180936ebfc82002df9bd882a4ae (patch) | |
tree | 44e4678c4c72eaad8af9f93e48e37c4d21a664d5 /t/test-lib.sh | |
parent | 67662fe0714cbcc89d732d4a04df975b0de2ca36 (diff) | |
download | rainbows-5f854e876ba55180936ebfc82002df9bd882a4ae.tar.gz |
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 () { |