summaryrefslogtreecommitdiffstats
path: root/tools/h5import/h5importtestutil.sh
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-08-07 16:19:11 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-08-07 16:19:11 (GMT)
commit6c95c46fcb0497f3bcb945b0da138e04fc600ab4 (patch)
treee3493806594f51f408c950c195c9e3b023634e5e /tools/h5import/h5importtestutil.sh
parente2477c8d0b76325590f43be8926634f16da5f849 (diff)
downloadhdf5-6c95c46fcb0497f3bcb945b0da138e04fc600ab4.zip
hdf5-6c95c46fcb0497f3bcb945b0da138e04fc600ab4.tar.gz
hdf5-6c95c46fcb0497f3bcb945b0da138e04fc600ab4.tar.bz2
[svn-r14039]
New feature: implementation of h5import conversion of an ASCII plain-text file containing text data The string type H5T_C_S1 is used to define the data (the datum is defined here as one line of text in the text file). The size is set to variable length (H5T_VARIABLE) The space used is a 1D array with as many elements as there are lines in the ASCII file (a line is defined by the inclusion of an end of line character, ASCII number 10). A first traversal of the input text file must be made to determine the number of lines in the file and thus the dimensionality of the dataset. New test to the test script added text input files and teststr.h5 for h5dump to compare added Tested: windows, linux, solaris
Diffstat (limited to 'tools/h5import/h5importtestutil.sh')
-rwxr-xr-xtools/h5import/h5importtestutil.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5import/h5importtestutil.sh b/tools/h5import/h5importtestutil.sh
index 09d2303..0687871 100755
--- a/tools/h5import/h5importtestutil.sh
+++ b/tools/h5import/h5importtestutil.sh
@@ -98,6 +98,9 @@ TOOLTEST buin16 -c $srcdir/testfiles/conbuin16 -o test12.h5
TESTING "BINARY UI32 - rank 3 - Output LE + CHUNKED "
TOOLTEST buin32 -c $srcdir/testfiles/conbuin32 -o test13.h5
+TESTING "STR"
+TOOLTEST $srcdir/testfiles/txtstr -c $srcdir/testfiles/textstr -o teststr.h5
+
rm -f tx* b* *.dat
rm -f test*.h5
rm -rf tmp_testfiles