summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-04-24 15:50:06 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-04-24 15:50:06 (GMT)
commit220388e7351becc927114de19f8a34e78e55a7ed (patch)
treebae338d3a166cb20b4d799f99b1791497757a383 /test
parent0e1633c26d3d28cc7612ae52277111a6aa4869da (diff)
downloadhdf5-220388e7351becc927114de19f8a34e78e55a7ed.zip
hdf5-220388e7351becc927114de19f8a34e78e55a7ed.tar.gz
hdf5-220388e7351becc927114de19f8a34e78e55a7ed.tar.bz2
Fix path to actual executable location
Diffstat (limited to 'test')
-rw-r--r--test/test_plugin.sh.in25
1 files changed, 13 insertions, 12 deletions
diff --git a/test/test_plugin.sh.in b/test/test_plugin.sh.in
index 37d4462..a0c9a42 100644
--- a/test/test_plugin.sh.in
+++ b/test/test_plugin.sh.in
@@ -88,22 +88,23 @@ if [ $? != 0 ]; then
fi
# setup plugin path relative to test
-ENVCMD="env HDF5_PLUGIN_PATH=@/${PLUGIN_LIBDIR1}:@/${PLUGIN_LIBDIR2}"
+# actual executable is in the .libs folder
+ENVCMD="env HDF5_PLUGIN_PATH=@/../${PLUGIN_LIBDIR1}:@/../${PLUGIN_LIBDIR2}"
# Run the test
-#$ENVCMD $TEST_BIN
-#if [ $? != 0 ]; then
-# nerrors=`expr $nerrors + 1`
-#fi
+$ENVCMD $TEST_BIN
+if [ $? != 0 ]; then
+ nerrors=`expr $nerrors + 1`
+fi
# print results
-#if test $nerrors -ne 0 ; then
-# echo "$nerrors errors encountered"
-# exit_code=$EXIT_FAILURE
-#else
-# echo "All Plugin API tests passed."
-# exit_code=$EXIT_SUCCESS
-#fi
+if test $nerrors -ne 0 ; then
+ echo "$nerrors errors encountered"
+ exit_code=$EXIT_FAILURE
+else
+ echo "All Plugin API tests passed."
+ exit_code=$EXIT_SUCCESS
+fi
# Clean up temporary files/directories and leave
$RM $PLUGIN_LIBDIR1 $PLUGIN_LIBDIR2