diff options
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 |