mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-03 02:32:04 +08:00
[svn-r14370] Maintenance: more cleanup of the h5import script
This commit is contained in:
parent
bedd5c4395
commit
f6218c4843
@ -31,63 +31,64 @@ $ !
|
||||
$ ! Define output for diff command that compares expected and actual
|
||||
$ ! outputs of h5dump
|
||||
$ !
|
||||
$ create h5dump.log
|
||||
$ create h5import.log
|
||||
$ !
|
||||
$ ! h5import tests
|
||||
$ !
|
||||
$ ! Run h5importtest to create input files
|
||||
$ !
|
||||
$ run [.-]h5importtest
|
||||
$ !
|
||||
$ type sys$input
|
||||
ASCII I32 rank 3 - Output BE
|
||||
Testing ASCII I32 rank 3 - Output BE
|
||||
$ CALL TOOLTEST "txtin32 -c textin32 -o" test1.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
ASCII I16 rank 3 - Output LE - CHUNKED - extended
|
||||
Testing ASCII I16 rank 3 - Output LE - CHUNKED - extended
|
||||
$ CALL TOOLTEST "txtin16 -c textin16 -o" test2.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
ASCII I8 - rank 3 - Output I16 LE-Chunked+Extended+Compressed
|
||||
Testing ASCII I8 - rank 3 - Output I16 LE-Chunked+Extended+Compressed
|
||||
$ CALL TOOLTEST "txtin16 -c textin8 -o" test3.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
ASCII UI32 - rank 3 - Output BE
|
||||
Testing ASCII UI32 - rank 3 - Output BE
|
||||
$ CALL TOOLTEST "in1 -c textuin32 -o" test4.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
ASCII UI16 - rank 2 - Output LE+Chunked+Compressed
|
||||
Testing ASCII UI16 - rank 2 - Output LE+Chunked+Compressed
|
||||
$ CALL TOOLTEST "in1 -c textuin16 -o" test5.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
ASCII F32 - rank 3 - Output LE
|
||||
Testing ASCII F32 - rank 3 - Output LE
|
||||
$ CALL TOOLTEST "fp1 -c textfp32 -o" test6.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
ASCII F64 - rank 3 - Output BE + CHUNKED+Extended+Compressed
|
||||
Testing ASCII F64 - rank 3 - Output BE + CHUNKED+Extended+Compressed
|
||||
$ CALL TOOLTEST "fp2 -c textfp64 -o" test7.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
BINARY F64 - rank 3 - Output LE+CHUNKED+Extended+Compressed
|
||||
Testing BINARY F64 - rank 3 - Output LE+CHUNKED+Extended+Compressed
|
||||
$ CALL TOOLTEST "bfp64 -c conbfp64 -o" test8.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
BINARY I16 - rank 3 - Output order LE + CHUNKED + extended
|
||||
Testing BINARY I16 - rank 3 - Output order LE + CHUNKED + extended
|
||||
$ CALL TOOLTEST "bin16 -c conbin16 -o" test9.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
BINARY I8 - rank 3 - Output I16LE + Chunked+Extended+Compressed
|
||||
Testing BINARY I8 - rank 3 - Output I16LE + Chunked+Extended+Compressed
|
||||
$ CALL TOOLTEST "bin8 -c conbin8 -o" test10.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
BINARY I32 - rank 3 - Output BE + CHUNKED
|
||||
Testing BINARY I32 - rank 3 - Output BE + CHUNKED
|
||||
$ CALL TOOLTEST "bin32 -c conbin32 -o" test11.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
BINARY UI16 - rank 3 - Output byte BE + CHUNKED
|
||||
Testing BINARY UI16 - rank 3 - Output byte BE + CHUNKED
|
||||
$ CALL TOOLTEST "buin16 -c conbuin16 -o" test12.h5
|
||||
$ !
|
||||
$ type sys$input
|
||||
BINARY UI32 - rank 3 - Output LE + CHUNKED
|
||||
Testing BINARY UI32 - rank 3 - Output LE + CHUNKED
|
||||
$ CALL TOOLTEST "buin32 -c conbuin32 -o" test13.h5
|
||||
$
|
||||
$
|
||||
@ -182,7 +183,7 @@ $ write sys$output line
|
||||
$ !
|
||||
$ ! Append the result to the log file
|
||||
$ !
|
||||
$ append h5dump_temp.dif h5dump.log
|
||||
$ append h5dump_temp.dif h5import.log
|
||||
$ !
|
||||
$ ! Delete temporary files
|
||||
$ if F$SEARCH("*out.h5;*") then del *out.h5;*
|
||||
|
Loading…
Reference in New Issue
Block a user