summaryrefslogtreecommitdiffstats
path: root/c++/examples/run-c++-ex.sh.in
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2013-09-28 02:36:32 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2013-09-28 02:36:32 (GMT)
commit72fcefd24f486321993f7dac729705655c93ec11 (patch)
tree00b716b58bd7c24c9fca9cfddac216e2221a7a97 /c++/examples/run-c++-ex.sh.in
parentcd90900d88d2baaf4ef3b4ad6aa30af64a4581cd (diff)
downloadhdf5-72fcefd24f486321993f7dac729705655c93ec11.zip
hdf5-72fcefd24f486321993f7dac729705655c93ec11.tar.gz
hdf5-72fcefd24f486321993f7dac729705655c93ec11.tar.bz2
[svn-r24212] Purpose: Added tutorial examples
Description: Merged changes from the trunk. + Revisions 24174: - Added tutorial examples that Barbara made following the C tutorial examples. They will be configured for daily test. + Revision 24195 - Improved format/comments in tutorial examples - Added them to Makefile.* and run-c++-ex.sh.in Platforms tested: SunOS 5.11 (emu) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers Tested the examples by running the script run-c++-ex.sh
Diffstat (limited to 'c++/examples/run-c++-ex.sh.in')
-rw-r--r--c++/examples/run-c++-ex.sh.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/c++/examples/run-c++-ex.sh.in b/c++/examples/run-c++-ex.sh.in
index 6b33577..77ac36a 100644
--- a/c++/examples/run-c++-ex.sh.in
+++ b/c++/examples/run-c++-ex.sh.in
@@ -64,6 +64,10 @@ RunTest()
# Run tests
if [ $? -eq 0 ]
then
+ echo "*************************************************"
+ echo "** Run C++ API Examples **"
+ echo "** **"
+ echo "*************************************************"
if (RunTest create &&\
rm create &&\
RunTest readdata &&\
@@ -82,6 +86,33 @@ then
else
EXIT_VALUE=${EXIT_FAILURE}
fi
+ echo
+ echo "***************************************************"
+ echo "** Run Tutorial Examples **"
+ echo "** **"
+ echo "***************************************************"
+ if (RunTest h5tutr_crtdat &&\
+ rm h5tutr_crtdat &&\
+ RunTest h5tutr_rdwt &&\
+ rm h5tutr_rdwt &&\
+ RunTest h5tutr_crtatt &&\
+ rm h5tutr_crtatt &&\
+ RunTest h5tutr_crtgrp &&\
+ rm h5tutr_crtgrp &&\
+ RunTest h5tutr_crtgrpar &&\
+ rm h5tutr_crtgrpar &&\
+ RunTest h5tutr_crtgrpd &&\
+ rm h5tutr_crtgrpd &&\
+ RunTest h5tutr_extend &&\
+ rm h5tutr_extend &&\
+ RunTest h5tutr_subset &&\
+ rm h5tutr_subset &&\
+ RunTest h5tutr_cmprss &&\
+ rm h5tutr_cmprss ); then
+ EXIT_VALUE=${EXIT_SUCCESS}
+ else
+ EXIT_VALUE=${EXIT_FAILURE}
+ fi
fi
# Cleanup