summaryrefslogtreecommitdiffstats
path: root/c++/examples/testexamples.sh
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-12-08 18:28:02 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-12-08 18:28:02 (GMT)
commitdc08de60a62bfeecd3f35553f8bfc353053b0986 (patch)
tree8b957fe64dbc09c568b5b4306c8d0698ba8b3dd9 /c++/examples/testexamples.sh
parent2c96b3ac314c22dd6e0aa045e2c0d6047474e85f (diff)
downloadhdf5-dc08de60a62bfeecd3f35553f8bfc353053b0986.zip
hdf5-dc08de60a62bfeecd3f35553f8bfc353053b0986.tar.gz
hdf5-dc08de60a62bfeecd3f35553f8bfc353053b0986.tar.bz2
[svn-r3100] Purpose:
Fix Description: When not building in the same directory, we needed to tell the checker wherre to look for files. Solution: Put $(srcdir) before things which needed it. Platforms tested: Linux
Diffstat (limited to 'c++/examples/testexamples.sh')
-rwxr-xr-xc++/examples/testexamples.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/examples/testexamples.sh b/c++/examples/testexamples.sh
index 54141c0..c68d956 100755
--- a/c++/examples/testexamples.sh
+++ b/c++/examples/testexamples.sh
@@ -6,14 +6,14 @@ DIFF='diff -c'
nerrors=0
verbose=yes
-actual=sample.out
-expect=expected.out
-
# The build (current) directory might be different than the source directory.
if test -z "$srcdir"; then
srcdir=.
fi
+actual=sample.out
+expect=$srcdir/expected.out
+
# Print a line-line message left justified in a field of 70 characters
# beginning with the word "Testing".
TESTING()