diff options
author | Pjotr Prins | 2017-07-16 11:05:39 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-07-16 11:05:39 +0000 |
commit | d6098a5f318543b525878c6cf45ddfe8ec923d9d (patch) | |
tree | 47e1610aebddc635552e6d29251a52424ad625c5 /test | |
parent | c3bc17415916a38aae675805b7f26a4cb6aafeca (diff) | |
download | pangemma-d6098a5f318543b525878c6cf45ddfe8ec923d9d.tar.gz |
sunit2: added instructions
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_suite.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/test/test_suite.sh b/test/test_suite.sh index d65bf40..f1a1c6f 100755 --- a/test/test_suite.sh +++ b/test/test_suite.sh @@ -40,9 +40,15 @@ testMultivariateLinearMixedModel() { } shunit2=`which shunit2` -if [ -x "$shunit2" ]; then +if [ -e "../contrib/shunit2/source/2.0/src/shell/shunit2" ]; then + echo try to run the locally installed shunit2 + . ../contrib/shunit2/source/2.0/src/shell/shunit2 +elif [ -e "../shunit2-2.0.3/src/shell/shunit2" ]; then + echo try to run the older locally installed shunit2 + . ../shunit2-2.0.3/src/shell/shunit2 +elif [ -x "$shunit2" ]; then + echo run system shunit2 . $shunit2 else - # try to run the locally installed shunit2 - . ../shunit2-2.0.3/src/shell/shunit2 + echo "Can not find shunit2 - see INSTALL.md" fi |