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/txtfp64.txt | |
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/txtfp64.txt')
-rwxr-xr-x | tools/h5import/testfiles/txtfp64.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/h5import/testfiles/txtfp64.txt b/tools/h5import/testfiles/txtfp64.txt new file mode 100755 index 0000000..6c83dc3 --- /dev/null +++ b/tools/h5import/testfiles/txtfp64.txt @@ -0,0 +1,19 @@ +12.3 14.2 15.56 +26.782 27.22 28.44 +29.33 20.11 11.45 +22.31 23.3332 24.343 + +16.134 19.34 0.17 +4.5 8.9 91.8 +34.7 0.32 0.076 +22.2 88.31 77.83 + +216.134 139.34 101.17 +24.5 82.9 291.8 +334.7 0.232 10.076 +222.2 88.31 77.83 + +122.3 114.2 125.56 +226.782 27.222 128.44 +341.7 30.132 0.1076 +4.51 181.9 911.8 |