diff options
Diffstat (limited to 'vms')
-rw-r--r-- | vms/build.com | 9 | ||||
-rw-r--r-- | vms/src/h5pubconf.h | 6 | ||||
-rw-r--r-- | vms/src/make.com | 1 | ||||
-rw-r--r-- | vms/tools/h5copy/check_h5copy.com | 50 | ||||
-rw-r--r-- | vms/tools/h5import/check_h5import.com | 40 |
5 files changed, 78 insertions, 28 deletions
diff --git a/vms/build.com b/vms/build.com index ee13379..af5cc6d 100644 --- a/vms/build.com +++ b/vms/build.com @@ -27,7 +27,8 @@ $ hdf5cxxtest = tmp + ".C__.TEST]" $ hdf5toolstest = tmp + ".TOOLS.TESTFILES]" $ hdf5toolstest_h5diff = tmp + ".TOOLS.H5DIFF.TESTFILES]" $ hdf5toolstest_h5repack = tmp + ".TOOLS.H5REPACK.TESTFILES]" -$ h5importtest = tmp + ".TOOLS.H5IMPORT.TESTFILES]" +$ hdf5toolstest_h5copy = tmp + ".TOOLS.H5COPY.TESTFILES]" +$ hdf5toolstest_h5import = tmp + ".TOOLS.H5IMPORT.TESTFILES]" $ set def 'hdf5vms' $@make $ set def 'hdf5ctest' @@ -48,7 +49,11 @@ $ set def 'hdf5toolstest_h5repack' $ copy [-]check_h5repack.com check_h5repack.com $@check_h5repack.com $! -$ set def 'h5importtest' +$ set def 'hdf5toolstest_h5copy' +$ copy [-]check_h5copy.com check_h5copy.com +$@check_h5copy.com +$! +$ set def 'hdf5toolstest_h5import' $ copy [.-]check_h5import.com check_h5import.com $@check_h5import.com $ diff --git a/vms/src/h5pubconf.h b/vms/src/h5pubconf.h index 2dddc76..e723c8b 100644 --- a/vms/src/h5pubconf.h +++ b/vms/src/h5pubconf.h @@ -480,13 +480,13 @@ #define H5_PACKAGE_NAME "HDF5" /* Define to the full name and version of this package. */ -#define H5_PACKAGE_STRING "HDF5 1.9.43-FA_a2" +#define H5_PACKAGE_STRING "HDF5 1.9.44-FA_a2" /* Define to the one symbol short name of this package. */ #define H5_PACKAGE_TARNAME "hdf5" /* Define to the version of this package. */ -#define H5_PACKAGE_VERSION "1.9.43-FA_a2" +#define H5_PACKAGE_VERSION "1.9.44-FA_a2" /* Width for printf() for type `long long' or `__int64', use `ll' */ #define H5_PRINTF_LL_WIDTH "ll" @@ -639,7 +639,7 @@ /* #undef H5_USING_MEMCHECKER */ /* Version number of package */ -#define H5_VERSION "1.9.43-FA_a2" +#define H5_VERSION "1.9.44-FA_a2" /* Define if vsnprintf() returns the correct value for formatted strings that don't fit into size allowed */ diff --git a/vms/src/make.com b/vms/src/make.com index 9ebc858..cbf15af 100644 --- a/vms/src/make.com +++ b/vms/src/make.com @@ -35,6 +35,7 @@ $ cobj= "H5, H5checksum, H5dbg, H5system, H5timer, H5trace,"+- "H5Defl, H5Dfill, H5Dint, H5Dio, H5Dmpio, H5Doh, H5Dscatgath, H5Dselect, H5Dtest,"+- "H5EA, H5EAcache, H5EAdbg, H5EAdblkpage, H5EAdblock, H5EAhdr, H5EAiblock, H5EAint,"+- "H5EAsblock, H5EAstat, H5EAtest, H5E, H5Edeprec, H5Eint,"+- + "H5FA, H5FAcache, H5FAdbg, H5FAdblkpage, H5FAdblock, H5FAhdr, H5FAstat, H5FAtest,"+- "H5Faccum, H5F, H5Fdbg, H5FD, H5FDcore, H5FDdirect, H5FDfamily, H5FDint, H5FDlog, H5FDmpi,"+- "H5FDmpio, H5FDmpiposix, H5FDmulti, H5FDsec2, H5FDspace, H5FDstdio, H5FDwindows,"+- "H5Ffake, H5Fio, H5FL, H5Fmount, H5Fmpi, H5FO, H5Fquery, H5FS, H5FScache, H5FSdbg, H5Fsfile,"+- diff --git a/vms/tools/h5copy/check_h5copy.com b/vms/tools/h5copy/check_h5copy.com index bb769df..e73dd56 100644 --- a/vms/tools/h5copy/check_h5copy.com +++ b/vms/tools/h5copy/check_h5copy.com @@ -15,15 +15,15 @@ $!# $! $ ! $ ! This command file tests h5copy utility. The command file has to -$ ! run in the [hdf5-top.tools.testfiles] directory. +$ ! run in the [hdf5-top.tools.h5copy.testfiles] directory. $ ! $ ! $ ! Define h5copy symbols $ ! $ current_dir = F$DIRECTRY() $ len = F$LENGTH(current_dir) -$ temp = F$EXTRACT(0, len-10, current_dir) -$ h5copy_dir = temp + "H5COPY]" +$ temp = F$EXTRACT(0, len-11, current_dir) +$ h5copy_dir = temp + "]" $ h5copy :== $sys$disk:'h5copy_dir'h5copy.exe $ ! $ ! @@ -32,10 +32,45 @@ $ ! $ $ !# copy files -$ CALL TOOLTEST "test1.h5/array test1_out.h5/array" -$ CALL TOOLTEST "test1.h5/integer test1_out.h5/integer_copy" -$ CALL TOOLTEST "test1.h5/g1 test1_out.h5/g1" +$ write sys$output "Test copying various forms of datasets" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s simple -d simple" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s chunk -d chunk" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s compact -d compact" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s compound -d compound" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s compressed -d compressed" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s named_vl -d named_vl" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s nested_vl -d nested_vl" $ ! +$ write sys$output " " +$ write sys$output "Test copying dataset within group in source file to root of destination" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s grp_dsets/simple -d simple_top" +$ write sys$output " " +$ write sys$output "Test copying & renaming dataset" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s compound -d rename" +$! +$ write sys$output " " +$ write sys$output "Test copying empty, 'full' & 'nested' groups" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s grp_empty -d grp_empty" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s grp_dsets -d grp_dsets" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s grp_nested -d grp_nested" +$! +$ write sys$output " " +$ write sys$output "Test copying dataset within group in source file to group in destination" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s /grp_dsets/simple -d /grp_dsets/simple_group" +$! write sys$output "Test copying & renaming group" +$! CALL TOOLTEST_FAIL "-i h5copytst.h5 -o out.h5 -v -s grp_dsets -d grp_rename +$! write sys$output "Test copying full group hierarchy into group in destination file" +$! CALL TOOLTEST_FAIL "-i h5copytst.h5 -o out.h5 -v -s grp_dsets -d /grp_rename/grp_dsets" +$! +$ write sys$output " " +$ write sys$output "Test copying objects into group hier. that doesn't exist yet in destination file" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -vp -s simple -d /A/B1/simple" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -vp -s simple -d /A/B2/simple2" +$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -vp -s /grp_dsets/simple -d /C/D/simple" +$!CALL TOOLTEST_FAIL "-i h5copytst.h5 -o out.h5 -vp -s /grp_dsets -d /E/F/grp_dsets" +$!CALL TOOLTEST_FAIL "-i h5copytst.h5 -o out.h5 -vp -s /grp_nested -d /G/H/grp_nested" +$! +$ del *out.h5;* $ ! $TOOLTEST: SUBROUTINE @@ -65,8 +100,5 @@ $ del *.err;* $ endif $ ! $ write sys$output line -$ ! -$ del *out.h5;* $ ! $ENDSUBROUTINE - diff --git a/vms/tools/h5import/check_h5import.com b/vms/tools/h5import/check_h5import.com index 87c854e..f25b297 100644 --- a/vms/tools/h5import/check_h5import.com +++ b/vms/tools/h5import/check_h5import.com @@ -48,56 +48,68 @@ $ run [.-]h5importtest $ ! $ type sys$input Testing ASCII I32 rank 3 - Output BE -$ CALL TOOLTEST "txtin32. -c textin32. -o" test1.h5 +$ CALL TOOLTEST "txtin16.txt -c txtin32.conf -o" txtin32.h5 $ ! $ type sys$input Testing ASCII I16 rank 3 - Output LE - CHUNKED - extended -$ CALL TOOLTEST "txtin16. -c textin16. -o" test2.h5 +$ CALL TOOLTEST "txtin16.txt -c txtin16.conf -o" txtin16.h5 $ ! $ type sys$input - Testing ASCII I8 - rank 3 - Output I16 LE-Chunked+Extended+Compressed -$ CALL TOOLTEST "txtin16. -c textin8. -o" test3.h5 + Testing ASCII I8 - rank 3 - Output I8 LE-Chunked+Extended+Compressed +$ CALL TOOLTEST "txtin16.txt -c txtin8.conf -o" txtin8.h5 $ ! $ type sys$input Testing ASCII UI32 - rank 3 - Output BE -$ CALL TOOLTEST "in1. -c textuin32. -o" test4.h5 +$ CALL TOOLTEST "txtuin32.txt -c txtuin32.conf -o" txtuin32.h5 $ ! $ type sys$input Testing ASCII UI16 - rank 2 - Output LE+Chunked+Compressed -$ CALL TOOLTEST "in1. -c textuin16. -o" test5.h5 +$ CALL TOOLTEST "txtuin32.txt -c txtuin16.conf -o" txtuin32.h5 $ ! $ type sys$input Testing ASCII F32 - rank 3 - Output LE -$ CALL TOOLTEST "fp1. -c textfp32. -o" test6.h5 +$ CALL TOOLTEST "txtfp32.txt -c txtfp32.conf -o" txtfp32.h5 $ ! $ type sys$input Testing ASCII F64 - rank 3 - Output BE + CHUNKED+Extended+Compressed -$ CALL TOOLTEST "fp2. -c textfp64. -o" tes7.h5 +$ CALL TOOLTEST "txtfp64.txt -c txtfp64.conf -o" txtfp64.h5 $ ! $ type sys$input Testing BINARY F64 - rank 3 - Output LE+CHUNKED+Extended+Compressed -$ CALL TOOLTEST "bfp64. -c conbfp64. -o" test8.h5 +$ CALL TOOLTEST "binfp64.bin -c binfp64.conf -o" binfp64.h5 $ ! $ type sys$input Testing BINARY I16 - rank 3 - Output order LE + CHUNKED + extended -$ CALL TOOLTEST "bin16. -c conbin16. -o" test9.h5 +$ CALL TOOLTEST "binin16.bin -c binin16.conf -o" binin16.h5 $ ! $ type sys$input Testing BINARY I8 - rank 3 - Output I16LE + Chunked+Extended+Compressed -$ CALL TOOLTEST "bin8. -c conbin8. -o" test10.h5 +$ CALL TOOLTEST "binin8.bin -c binin8.conf -o" binin8.h5 $ ! $ type sys$input Testing BINARY I32 - rank 3 - Output BE + CHUNKED -$ CALL TOOLTEST "bin32. -c conbin32. -o" test11.h5 +$ CALL TOOLTEST "binin32.bin -c binin32.conf -o" binin32.h5 $ ! $ type sys$input Testing BINARY UI16 - rank 3 - Output byte BE + CHUNKED -$ CALL TOOLTEST "buin16. -c conbuin16. -o" test12.h5 +$ CALL TOOLTEST "binuin16.bin -c binuin16.conf -o" binuin16.h5 $ ! $ type sys$input Testing BINARY UI32 - rank 3 - Output LE + CHUNKED -$ CALL TOOLTEST "buin32. -c conbuin32. -o" test13.h5 +$ CALL TOOLTEST "binuin32.bin -c binuin32.conf -o" binuin32.h5 +$ ! +$ type sys$input + Testing STR +$ CALL TOOLTEST "txtstr.txt -c txtstr.conf -o" txtstr.h5 +$ ! +$ type sys$input + Testing BINARY I8 CR LF EOF +$ CALL TOOLTEST "binin8w.bin -c binin8w.conf -o" binin8w.h5 +$ ! +$ type sys$input + Testing ASCII F64 - rank 1 - INPUT-CLASS TEXTFPE +$ CALL TOOLTEST "in64.txt -c textpfe.conf -o" test15.h5 $ $ $ ! Delete temporary files |