[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
This commit is contained in:
Pedro Vicente Nunes
2008-02-19 14:12:10 -05:00
parent fc8e5477f5
commit 6bc41c8b20
39 changed files with 423 additions and 217 deletions

View File

@@ -0,0 +1,12 @@
PATH /int/buin/32-bit
INPUT-CLASS UIN
INPUT-SIZE 32
RANK 3
DIMENSION-SIZES 5 3 4
OUTPUT-ARCHITECTURE STD
OUTPUT-BYTE-ORDER LE