aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPjotr Prins2017-07-16 11:05:39 +0000
committerPjotr Prins2017-07-16 11:05:39 +0000
commitd6098a5f318543b525878c6cf45ddfe8ec923d9d (patch)
tree47e1610aebddc635552e6d29251a52424ad625c5 /test
parentc3bc17415916a38aae675805b7f26a4cb6aafeca (diff)
downloadpangemma-d6098a5f318543b525878c6cf45ddfe8ec923d9d.tar.gz
sunit2: added instructions
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_suite.sh12
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