diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-02-19 19:12:10 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-02-19 19:12:10 (GMT) |
commit | 6bc41c8b209fd0cc9cc3d088eb425ddbcf681a53 (patch) | |
tree | a6c6f0d9f1fb4bd950c74dbadaf50f4ee1623092 /tools/h5import/testfiles/txtin16.conf | |
parent | fc8e5477f583b6e256b06da62fb9b80d0db5418f (diff) | |
download | hdf5-6bc41c8b209fd0cc9cc3d088eb425ddbcf681a53.zip hdf5-6bc41c8b209fd0cc9cc3d088eb425ddbcf681a53.tar.gz hdf5-6bc41c8b209fd0cc9cc3d088eb425ddbcf681a53.tar.bz2 |
[svn-r14613] 971 (B2) h5import bug on Windows w/binary datasets. CLOSED. fread in windows needs a binary file to be open with "rb" instead of "r" otherwise it terminates execution if an end of file character is found on the input file. Besides that the binary file generated needs to be open with "wb" , otherwise an end of line character is read twice. DONE NOW for 1.8, already done previously for 1.6
renamed the h5import test files to have the extensions
text input files = .txt
binary input files = .bin
configuration files = .conf
hdf5 files = .h5
besides that in very test the files have the same name except extension.
For example
TOOLTEST txtin16.txt -c $srcdir/testfiles/txtin16.conf -o txtin16.h5
The convention for the test name is for example, for "txtin16"
"txt" for text then "in16" means integer 16 size
Tested: linux, solaris
Diffstat (limited to 'tools/h5import/testfiles/txtin16.conf')
-rwxr-xr-x | tools/h5import/testfiles/txtin16.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/h5import/testfiles/txtin16.conf b/tools/h5import/testfiles/txtin16.conf new file mode 100755 index 0000000..d2d11c3 --- /dev/null +++ b/tools/h5import/testfiles/txtin16.conf @@ -0,0 +1,12 @@ +PATH /int/16-bit +INPUT-CLASS TEXTIN +INPUT-SIZE 16 +RANK 3 +DIMENSION-SIZES 2 4 3 +OUTPUT-BYTE-ORDER LE +CHUNKED-DIMENSION-SIZES 2 2 2 +MAXIMUM-DIMENSIONS -1 -1 8 +OUTPUT-ARCHITECTURE STD + + + |