diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-17 22:42:56 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-17 22:42:56 -0700 |
commit | 3a5af445e2a3af83cd2e7e68b2d4c0d1dc8079b5 (patch) | |
tree | 11996ea50cc00e56f32bbe3f7d491bf32ceab414 /t/test-lib.sh | |
parent | c50132e156da457186929e5c36d9e16f636f48df (diff) | |
download | rainbows-3a5af445e2a3af83cd2e7e68b2d4c0d1dc8079b5.tar.gz |
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 5b9a90a..687ad3f 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -14,8 +14,19 @@ else fi set -e -set -u + T=$(basename $0) +if test -z "$model" +then + case $T in + t1???-thread-pool-*.sh) model=ThreadPool ;; + t2???-thread-spawn-*.sh) model=ThreadSpawn ;; + t3???-revactor-*.sh) model=Revactor ;; + t4???-rev-*.sh) model=Rev ;; + esac +fi + +set -u ruby="${ruby-ruby}" # ensure a sane environment |