summaryrefslogtreecommitdiffstats
path: root/test/test_plugin.sh.in
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-03-29 20:59:15 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-03-29 20:59:15 (GMT)
commited621aae38837e90c7273087de22f1752eee7cc7 (patch)
tree9d4ccc718d360469fd99c793cd9526c8981efb9b /test/test_plugin.sh.in
parent5e5e9e3987ddb5ce005f346e95e378e57ad5c762 (diff)
downloadhdf5-ed621aae38837e90c7273087de22f1752eee7cc7.zip
hdf5-ed621aae38837e90c7273087de22f1752eee7cc7.tar.gz
hdf5-ed621aae38837e90c7273087de22f1752eee7cc7.tar.bz2
[svn-r23494] I added another filter library dynlib2.c for plugin.c test. The test script moves the libdynlib2.so to /tmp then runs
plugin.c. Tested on jam and koala.
Diffstat (limited to 'test/test_plugin.sh.in')
-rw-r--r--test/test_plugin.sh.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/test_plugin.sh.in b/test/test_plugin.sh.in
index 630a689..1d06956 100644
--- a/test/test_plugin.sh.in
+++ b/test/test_plugin.sh.in
@@ -21,9 +21,6 @@
srcdir=@srcdir@
TOP_BUILDDIR=@top_builddir@
-echo $srcdir
-echo $TOP_BUILDDIR
-
# Determine backward compatibility options enabled
DEPRECATED_SYMBOLS="@DEPRECATED_SYMBOLS@"
@@ -32,7 +29,8 @@ verbose=yes
TEST_NAME=plugin
TEST_BIN=`pwd`/$TEST_NAME
-ENVCMD="env HDF5_PLUGIN_PATH=`pwd`/.libs"
+CP="cp .libs/libdynlib2.so.* /tmp"
+ENVCMD="env HDF5_PLUGIN_PATH=/tmp:`pwd`/.libs"
# Print a line-line message left justified in a field of 70 characters
# beginning with the word "Testing".
@@ -44,7 +42,7 @@ TESTING() {
# Main Body
# Run the test
-$ENVCMD $TEST_BIN
+$CP; $ENVCMD $TEST_BIN
if [ $? != 0 ]; then
nerrors=`expr $nerrors + 1`
fi