diff options
author | Fang Guo <fangguo@ncsa.uiuc.edu> | 2006-02-16 16:46:28 (GMT) |
---|---|---|
committer | Fang Guo <fangguo@ncsa.uiuc.edu> | 2006-02-16 16:46:28 (GMT) |
commit | f2b9b502d2ac4539942a06bef663881901a6732d (patch) | |
tree | 0635046afd67f355c2facb9f896be8289cb93b1c | |
parent | bac54105f6ac50036b0075768bc5c9d3f7c65063 (diff) | |
download | hdf5-f2b9b502d2ac4539942a06bef663881901a6732d.zip hdf5-f2b9b502d2ac4539942a06bef663881901a6732d.tar.gz hdf5-f2b9b502d2ac4539942a06bef663881901a6732d.tar.bz2 |
[svn-r11940] Purpose:
Batch file improvement
Description:
Make tool tests batch files easier to maintain
Solution:
Platforms tested:
Windows XP
Misc. update:
-rwxr-xr-x | windows/tools/dumptest.bat | 3056 |
1 files changed, 580 insertions, 2476 deletions
diff --git a/windows/tools/dumptest.bat b/windows/tools/dumptest.bat index d39084e..6006f0c 100755 --- a/windows/tools/dumptest.bat +++ b/windows/tools/dumptest.bat @@ -1,2548 +1,652 @@ -@REM Copyright by the Board of Trustees of the University of Illinois. -@REM All rights reserved. -@REM -@REM This file is part of HDF5. The full HDF5 copyright notice, including -@REM terms governing use, modification, and redistribution, is contained in -@REM the files COPYING and Copyright.html. COPYING can be found at the root -@REM of the source code distribution tree; Copyright.html can be found at the -@REM root level of an installed copy of the electronic HDF5 document set and -@REM is linked from the top-level documents page. It can also be found at -@REM http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have -@REM access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. - -@ ECHO OFF - -REM TOOLTEST tfamily.ddl --filedriver=family tfamily%05d.h5 -REM TOOLTEST thlink.h5.xml --xml thlink.h5 -REM TOOLTEST tmany.h5.xml --xml tmany.h5 -REM were turned off due to unsolved failures. +@echo off + +:: Copyright by the Board of Trustees of the University of Illinois. +:: All rights reserved. +:: +:: This file is part of HDF5. The full HDF5 copyright notice, including +:: terms governing use, modification, and redistribution, is contained in +:: the files COPYING and Copyright.html. COPYING can be found at the root +:: of the source code distribution tree; Copyright.html can be found at the +:: root level of an installed copy of the electronic HDF5 document set and +:: is linked from the top-level documents page. It can also be found at +:: http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have +:: access to either file, you may request a copy from hdfhelpncsa.uiuc.edu. + +::This batch file is for h5dump general and xml tests. +::Usage +:: dumptest release -- release static version +:: dumptest debug -- debug static version +:: dumptest release dll -- release dll version +:: dumptest debug dll -- debug dll version +:: Written By: Fang GUO +:: Date : Jan. 12, 2006 + + +:: Track total number of testing errors + set /A totalerr=0 + set /A totalskip=0 + + +::******************************************************* +:: Generate a new temp directory for test h5dump +::******************************************************* + :: Make a temporary directory for h5dump test + mkdir temptest + +::****************************************************************** +:: Set the Environment Variables & Change Dir to Dir with h5dump.EXE +::****************************************************************** + + :: The first incoming parameter should be configuration (debug or release) + set p1=%1 + :: The second parameter should be the types of library (dll or blank) + set p2=%2 + + :: Before comparison between expected file and the actual outputfile, + :: Ignore the first line in actual outputfile and the first four lines + :: in the expected output file + + set ln=1 + set ln_exp=4 + + :: Save the tests output into a temporary file + set tempResults=dumptest%2_%1.txt + type nul > %tempResults% + + :: Define the .exe file based on the second parameter + set exefile=h5dump%p2% + + :: For convenience, set a variable for the sub batch file + set tooltest=..\..\tooltest + + :: For convenience, set variable for all testfiles/*.h5 files + for %%i in (testfiles\t*.h5) do set %%~ni=..\..\%%i + + :: Special cases: the following are not .h5 files but needed in the tests + for %%i in (tsplit_file tmulti) do ( + set %%i=..\..\testfiles\%%i + ) + + :: Havn't find a way to use % inside a variable name + set tfamily05d=..\..\testfiles\tfamily%%05d.h5 + + :: Change the directory to dir including .exe file + cd h5dump%p2%\%p1% + +::Test h5dump with different options + +echo.**************************************************** +echo. h5dump%2 %1 T E S T S +echo.**************************************************** + +::-------------------------- +::test for displaying groups +::-------------------------- +set flag=%tgroup% +call %tooltest% tgroup-1.ddl + +::--------------------------------------- +::test for displaying the selected groups +::--------------------------------------- +set flag=--group=/g2 --group / -g /y %tgroup% +call %tooltest% tgroup-2.ddl + +:: ----------------------------------------- +:: test for displaying simple space datasets +::------------------------------------------ +set flag=%tdset% +call %tooltest% tdset-1.ddl + +::-------------------------------------- +::test for displaying selected datasets +::-------------------------------------- +set flag=-H -d dset1 -d /dset2 --dataset=dset3 %tdset% +call %tooltest% tdset-2.ddl + +::------------------------------ +::test for displaying attributes +::------------------------------ +set flag=%tattr% +call %tooltest% tattr-1.ddl + +::--------------------------------------------------------------------------- +::test for displaying the selected attributes of string type and scalar space +::--------------------------------------------------------------------------- +set flag=-a /attr1 --attribute /attr4 --attribute=/attr5 %tattr% +call %tooltest% tattr-2.ddl + +::---------------------------------- +::test for header and error messages +::---------------------------------- +set flag=--header -a /attr2 --attribute=/attr %tattr% +call %tooltest% tattr-3.ddl + +::------------------------------------------------ +::test for displaying shared datatype in attribute +::------------------------------------------------ +set flag=-A %tnamed_dtype_attr% +call %tooltest% tnamed_dtype_attr.ddl + +::------------------------------ +::test for displaying soft links +::------------------------------ +set flag=%tslink% +call %tooltest% tslink-1.ddl + +::------------------------------------- +::test for displaying the selected link +::------------------------------------- +set flag=-l slink2 %tslink% +call %tooltest% tslink-2.ddl + +::-------------------- +::tests for hard links +::-------------------- +set flag=%thlink% +call %tooltest% thlink-1.ddl + +set flag=-d /g1/dset2 --dataset /dset1 --dataset=/g1/g1.1/dset3 %thlink% +call %tooltest% thlink-2.ddl + +set flag=-d /g1/g1.1/dset3 --dataset /g1/dset2 --dataset=/dset1 %thlink% +call %tooltest% thlink-3.ddl + +set flag=-g /g1 %thlink% +call %tooltest% thlink-4.ddl + +set flag=-d /dset1 -g /g2 -d /g1/dset2 %thlink% +call %tooltest% thlink-5.ddl + +::----------------------------- +::tests for compound data types +::----------------------------- +set flag=%tcompound% +call %tooltest% tcomp-1.ddl + +::------------------------- +::test for named data types +::------------------------- +set flag=-t /type1 --datatype /type2 --datatype=/group1/type3 %tcompound% +call %tooltest% tcomp-2.ddl + +::-------------------- +::test for unamed type +::-------------------- +set flag=-t /#6632:0 -g /group2 %tcompound% +call %tooltest% tcomp-3.ddl + +::---------------------------------- +::test complicated compound datatype +::---------------------------------- +set flag=%tcompound_complex% +call %tooltest% tcomp-4.ddl + +::--------------------------------- +::test for the nested compound type +::--------------------------------- +set flag=%tnestedcomp% +call %tooltest% tnestcomp-1.ddl + +::---------------- +::test for options +::---------------- +set flag=%tall% +call %tooltest% tall-1.ddl + +set flag=--header -g /g1/g1.1 -a attr2 %tall% +call %tooltest% tall-2.ddl + +set flag=-d /g2/dset2.1 -l /g1/g1.2/g1.2.1/slink %tall% +call %tooltest% tall-3.ddl + +::------------------------ +::test for loop detection +::------------------------ +set flag=%tloop% +call %tooltest% tloop-1.ddl + +::--------------- +::test for string +::--------------- +set flag=%tstr% +call %tooltest% tstr-1.ddl + +set flag=%tstr2% +call %tooltest% tstr-2.ddl + +::------------------------------------- +::test for file created by Lib SAF team +::------------------------------------- +set flag=%tsaf% +call %tooltest% tsaf.ddl + +::--------------------------------------- +::test for file with variable length data +::--------------------------------------- +set tvldtypes=..\..\testfiles\tvldtypes +for %%v in (1 2 3 4 5) do ( +set flag=%tvldtypes%%%v.h5 +call %tooltest% tvldtypes%%v.ddl +) +set tvldtypes= + +::---------------------------------------------- +::test for file with variable length string data +::---------------------------------------------- +set flag=%tvlstr% +call %tooltest% tvlstr.ddl + +::------------------------------ +::test for files with array data +::------------------------------ +set tarray=..\..\testfiles\tarray +for /L %%v in (1,1,7) do ( +set flag=%tarray%%%v%.h5 +call %tooltest% tarray%%v.ddl +) +set tarray= + +::------------------------------ +::test for files with empty data +::------------------------------ +set flag=%tempty% +call %tooltest% tempty.ddl + +::--------------------------------------------- +::test for files with groups that have comments +::--------------------------------------------- +set flag=%tgrp_comments% +call %tooltest% tgrp_comments.ddl + +::--------------------------- +::test the --filedriver flag +::--------------------------- +set flag=--filedriver=split %tsplit_file% +call %tooltest% tsplit_file.ddl + +::Special: Find a way to echo environment +set flag=--filedriver=family %tfamily05d% +call %tooltest% tfamily.ddl + +set flag=--filedriver=multi %tmulti% +call %tooltest% tmulti.ddl + +::---------------------------------------------------------------- +::test for files with group names which reach > 1024 bytes in size +::---------------------------------------------------------------- +set flag=-w157 %tlarge_objname% +call %tooltest% tlarge_objname.ddl + +::------------------------------------------- +::test '-A' to suppress data but print attr's +::------------------------------------------- +set flag=-A %tall% +call %tooltest% tall-2A.ddl + +::--------------------------------------------------------- +::test '-r' to print attributes in ASCII instead of decimal +::--------------------------------------------------------- +set flag=-A -r %tall% +call %tooltest% tall-2B.ddl + +::--------------- +::test Subsetting +::--------------- +set flag=--dataset=/g1/g1.1/dset1.1.1 --start=1,1 --stride=2,3 --count=3,2 --block=1,1 %tall% +call %tooltest% tall-4s.ddl + +::set flag=-d "/g1/g1.1/dset1.1.2[0;2;10;]" %tall% +::call %tooltest% tall-5s.ddl + +::set flag=-d "/dset1[1,1;;;]" %tdset% +::call %tooltest% tdset-3s.ddl + +::set flag=-d "/dset1[;3,2;4,4;1,4]" %tdset2% +::call %tooltest% tdset2-1s.ddl + +::---------------------------------------------------- +::test printing characters in ASCII instead of decimal +::---------------------------------------------------- +set flag=-r %tchar% +call %tooltest% tchar1.ddl + +::--------------------- +::test failure handling +::--------------------- + +::1. Missing file name +set flag= +call %tooltest% tnofilename.ddl + +:: rev. 2004 + +::--------------------- +::tests for super block +::--------------------- +set flag=-H -B -d dset %tfcontents1% +call %tooltest% tboot1.ddl + +set flag=-B %tfcontents2% +call %tooltest% tboot2.ddl + +::------------------------------------ +:: test -p with a non existing dataset +::------------------------------------ +set flag=-p -d bogus %tfcontents1% +call %tooltest% tperror.ddl + +::---------------------- +::test for file contents +::---------------------- +set flag=-n %tfcontents1% +call %tooltest% tcontents.ddl + +::------------------------- +::tests for storage layout +::------------------------- + +for %%v in (compact chunked external) do ( +set flag=-H -p -d %%v %tfilters% +call %tooltest% t%%v.ddl +) + +::contiguous (tcontiguos.ddl or tcontiguous.ddl) +set flag=-H -p -d contiguous %tfilters% +call %tooltest% tcontiguos.ddl + +::----------- +::fill values +::----------- +set flag=-p %tfvalues% +call %tooltest% tfill.ddl + +::----------------------------------------------- +::several datatype, with references , print path +::----------------------------------------------- +set flag=%tattr2% +call %tooltest% treference.ddl + +::------------------------------------------ +::escape/not escape non printable characters +::------------------------------------------ +set flag=-e %tstr3% +call %tooltest% tstringe.ddl + +set flag=%tstr3% +call %tooltest% tstring.ddl + +::---------------------------------- +::char data as ASCII with non escape +::---------------------------------- +set flag=-r -d str4 %tstr3% +call %tooltest% tstring2.ddl + +::----------------------------- +::array indices print/not print +::----------------------------- +set flag=%taindices% +call %tooltest% tindicesyes.ddl + +set flag=-y %taindices% +call %tooltest% tindicesno.ddl + +::----------------- +::tests for filters +::----------------- + +:: SZIP +set flag=-H -p -d szip %tfilters% +call %tooltest% tszip.ddl szip + +::deflate +set flag=-H -p -d deflate %tfilters% +call %tooltest% tdeflate.ddl zlib + +::shuffle +set flag=-H -p -d shuffle %tfilters% +call %tooltest% tshuffle.ddl + +::fletcher32 +set flag=-H -p -d fletcher32 %tfilters% +call %tooltest% tfletcher32.ddl + +::nbit +set flag=-H -p -d nbit %tfilters% +call %tooltest% tnbit.ddl + +::scaleoffset +set flag=-H -p -d scaleoffset %tfilters% +call %tooltest% tscaleoffset.ddl + +::all +set flag=-H -p -d all %tfilters% +call %tooltest% tallfilters.ddl zlib szip + +::user defined +set flag=-H -p -d myfilter %tfilters% +call %tooltest% tuserfilter.ddl + +::test for displaying dataset and attribute of null space +set flag=%tnullspace% +call %tooltest% tnullspace.ddl -mkdir temptest - -cd h5dump%2\%1 +::test for displaying objects with very long names +set flag=%tlonglinks% +call %tooltest% tlonglinks.ddl -h5dump%2 ..\..\testfiles\tgroup.h5 > ..\..\temptest\tgroup-1.results 2>..\..\temptest\tgroup-1_error.results -more ..\..\temptest\tgroup-1_error.results >> ..\..\temptest\tgroup-1.results -del ..\..\temptest\tgroup-1_error.results -h5dump%2 -g /g2 -g / -g /y ..\..\testfiles\tgroup.h5 > ..\..\temptest\tgroup-2.results 2>..\..\temptest\tgroup-2_error.results -more ..\..\temptest\tgroup-2_error.results >> ..\..\temptest\tgroup-2.results -del ..\..\temptest\tgroup-2_error.results +echo. +echo.**************************************************** +echo. h5dump%2 %1 XML T E S T S +echo.**************************************************** -h5dump%2 ..\..\testfiles\tdset.h5 > ..\..\temptest\tdset-1.results 2>..\..\temptest\tdset-1_error.results -more ..\..\temptest\tdset-1_error.results >> ..\..\temptest\tdset-1.results -del ..\..\temptest\tdset-1_error.results +::test XML +set flag=--xml %tall% +call %tooltest% tall.h5.xml -h5dump%2 -H -d dset1 -d /dset2 --dataset=dset3 ..\..\testfiles\tdset.h5 > ..\..\temptest\tdset-2.results 2>..\..\temptest\tdset-2_error.results -more ..\..\temptest\tdset-2_error.results >> ..\..\temptest\tdset-2.results -del ..\..\temptest\tdset-2_error.results +set flag=--xml %tattr% +call %tooltest% tattr.h5.xml -h5dump%2 ..\..\testfiles\tattr.h5 > ..\..\temptest\tattr-1.results 2>..\..\temptest\tattr-1_error.results -more ..\..\temptest\tattr-1_error.results >> ..\..\temptest\tattr-1.results -del ..\..\temptest\tattr-1_error.results +set flag=--xml %tbitfields% +call %tooltest% tbitfields.h5.xml -h5dump%2 -a /attr1 --attribute /attr4 --attribute=/attr5 ..\..\testfiles\tattr.h5 > ..\..\temptest\tattr-2.results 2>..\..\temptest\tattr-2_error.results -more ..\..\temptest\tattr-2_error.results >> ..\..\temptest\tattr-2.results -del ..\..\temptest\tattr-2_error.results +set flag=--xml %tcompound% +call %tooltest% tcompound.h5.xml -h5dump%2 --header -a /attr2 --attribute=/attr ..\..\testfiles\tattr.h5 > ..\..\temptest\tattr-3.results 2>..\..\temptest\tattr-3_error.results -more ..\..\temptest\tattr-3_error.results >> ..\..\temptest\tattr-3.results -del ..\..\temptest\tattr-3_error.results +set flag=--xml %tcompound2% +call %tooltest% tcompound2.h5.xml -h5dump%2 -A ..\..\testfiles\tnamed_dtype_attr.h5 > ..\..\temptest\tnamed_dtype_attr.results 2>..\..\temptest\tnamed_dtype_attr_error.results -more ..\..\temptest\tnamed_dtype_attr_error.results >> ..\..\temptest\tnamed_dtype_attr.results -del ..\..\temptest\tnamed_dtype_attr_error.results +set flag=--xml %tdatareg% +call %tooltest% tdatareg.h5.xml -h5dump%2 ..\..\testfiles\tslink.h5 > ..\..\temptest\tslink-1.results 2>..\..\temptest\tslink-1_error.results -more ..\..\temptest\tslink-1_error.results >> ..\..\temptest\tslink-1.results -del ..\..\temptest\tslink-1_error.results +set flag=--xml %tdset% +call %tooltest% tdset.h5.xml -h5dump%2 -l slink2 ..\..\testfiles\tslink.h5 > ..\..\temptest\tslink-2.results 2>..\..\temptest\tslink-2_error.results -more ..\..\temptest\tslink-2_error.results >> ..\..\temptest\tslink-2.results -del ..\..\temptest\tslink-2_error.results +set flag=--xml %tdset2% +call %tooltest% tdset2.h5.xml -h5dump%2 ..\..\testfiles\thlink.h5 > ..\..\temptest\thlink-1.results 2>..\..\temptest\thlink-1_error.results -more ..\..\temptest\thlink-1_error.results >> ..\..\temptest\thlink-1.results -del ..\..\temptest\thlink-1_error.results +set flag=--xml %tenum% +call %tooltest% tenum.h5.xml -h5dump%2 -d /g1/dset2 --dataset /dset1 --dataset=/g1/g1.1/dset3 ..\..\testfiles\thlink.h5 > ..\..\temptest\thlink-2.results 2>..\..\temptest\thlink-2_error.results -more ..\..\temptest\thlink-2_error.results >> ..\..\temptest\thlink-2.results -del ..\..\temptest\thlink-2_error.results +set flag=--xml %tgroup% +call %tooltest% tgroup.h5.xml -h5dump%2 -d /g1/g1.1/dset3 --dataset /g1/dset2 --dataset=/dset1 ..\..\testfiles\thlink.h5 > ..\..\temptest\thlink-3.results 2>..\..\temptest\thlink-3_error.results -more ..\..\temptest\thlink-3_error.results >> ..\..\temptest\thlink-3.results -del ..\..\temptest\thlink-3_error.results +set flag=--xml %thlink% +call %tooltest% thlink.h5.xml SKIP -h5dump%2 -g /g1 ..\..\testfiles\thlink.h5 > ..\..\temptest\thlink-4.results 2>..\..\temptest\thlink-4_error.results -more ..\..\temptest\thlink-4_error.results >> ..\..\temptest\thlink-4.results -del ..\..\temptest\thlink-4_error.results +set flag=--xml %tloop% +call %tooltest% tloop.h5.xml -h5dump%2 -d /dset1 -g /g2 -d /g1/dset2 ..\..\testfiles\thlink.h5 > ..\..\temptest\thlink-5.results 2>..\..\temptest\thlink-5_error.results -more ..\..\temptest\thlink-5_error.results >> ..\..\temptest\thlink-5.results -del ..\..\temptest\thlink-5_error.results +set flag=--xml %tloop2% +call %tooltest% tloop2.h5.xml -h5dump%2 ..\..\testfiles\tcompound.h5 > ..\..\temptest\tcomp-1.results 2>..\..\temptest\tcomp-1_error.results -more ..\..\temptest\tcomp-1_error.results >> ..\..\temptest\tcomp-1.results -del ..\..\temptest\tcomp-1_error.results +set flag=--xml %tmany% +call %tooltest% tmany.h5.xml SKIP -h5dump%2 -t /type1 --datatype /type2 --datatype=/group1/type3 ..\..\testfiles\tcompound.h5 > ..\..\temptest\tcomp-2.results 2>..\..\temptest\tcomp-2_error.results -more ..\..\temptest\tcomp-2_error.results >> ..\..\temptest\tcomp-2.results -del ..\..\temptest\tcomp-2_error.results +set flag=--xml %tnestedcomp% +call %tooltest% tnestedcomp.h5.xml -h5dump%2 -t /#6632:0 -g /group2 ..\..\testfiles\tcompound.h5 > ..\..\temptest\tcomp-3.results 2>..\..\temptest\tcomp-3_error.results -more ..\..\temptest\tcomp-3_error.results >> ..\..\temptest\tcomp-3.results -del ..\..\temptest\tcomp-3_error.results +set flag=--xml %tcompound_complex% +call %tooltest% tcompound_complex.h5.xml -h5dump%2 ..\..\testfiles\tcompound_complex.h5 > ..\..\temptest\tcompound_complex.results 2>..\..\temptest\tcompound_complex_error.results -more ..\..\temptest\tcompound_complex_error.results >> ..\..\temptest\tcompound_complex.results -del ..\..\temptest\tcompound_complex_error.results +set flag=--xml %tobjref% +call %tooltest% tobjref.h5.xml -h5dump%2 ..\..\testfiles\tnestedcomp.h5 > ..\..\temptest\tnestcomp-1.results 2>..\..\temptest\tnestcomp-1_error.results -more ..\..\temptest\tnestcomp-1_error.results >> ..\..\temptest\tnestcomp-1.results -del ..\..\temptest\tnestcomp-1_error.results - -h5dump%2 ..\..\testfiles\tall.h5 > ..\..\temptest\tall-1.results 2>..\..\temptest\tall-1_error.results -more ..\..\temptest\tall-1_error.results >> ..\..\temptest\tall-1.results -del ..\..\temptest\tall-1_error.results +set flag=--xml %topaque% +call %tooltest% topaque.h5.xml -h5dump%2 --header -g /g1/g1.1 -a attr2 ..\..\testfiles\tall.h5 > ..\..\temptest\tall-2.results 2>..\..\temptest\tall-2_error.results -more ..\..\temptest\tall-2_error.results >> ..\..\temptest\tall-2.results -del ..\..\temptest\tall-2_error.results +set flag=--xml %tslink% +call %tooltest% tslink.h5.xml -h5dump%2 -d /g2/dset2.1 -l /g1/g1.2/g1.2.1/slink ..\..\testfiles\tall.h5 > ..\..\temptest\tall-3.results 2>..\..\temptest\tall-3_error.results -more ..\..\temptest\tall-3_error.results >> ..\..\temptest\tall-3.results -del ..\..\temptest\tall-3_error.results - -h5dump%2 ..\..\testfiles\tloop.h5 > ..\..\temptest\tloop-1.results 2>..\..\temptest\tloop-1_error.results -more ..\..\temptest\tloop-1_error.results >> ..\..\temptest\tloop-1-1.results -del ..\..\temptest\tloop-1_error.results +set flag=--xml %tstr% +call %tooltest% tstr.h5.xml -h5dump%2 ..\..\testfiles\tstr.h5 > ..\..\temptest\tstr-1.results 2>..\..\temptest\tstr-1_error.results -more ..\..\temptest\tstr-1_error.results >> ..\..\temptest\tstr-1.results -del ..\..\temptest\tstr-1_error.results - -h5dump%2 ..\..\testfiles\tstr2.h5 > ..\..\temptest\tstr-2.results 2>..\..\temptest\tstr-2_error.results -more ..\..\temptest\tstr-2_error.results >> ..\..\temptest\tstr-2.results -del ..\..\temptest\tstr-2_error.results - -h5dump%2 ..\..\testfiles\tsaf.h5 > ..\..\temptest\tsaf.results 2>..\..\temptest\tsaf_error.results -more ..\..\temptest\tsaf_error.results >> ..\..\temptest\tsaf.results -del ..\..\temptest\tsaf_error.results - -h5dump%2 ..\..\testfiles\tvldtypes1.h5 > ..\..\temptest\tvldtypes1.results 2>..\..\temptest\tvldtypes1_error.results -more ..\..\temptest\tvldtypes1_error.results >> ..\..\temptest\tvldtypes1.results -del ..\..\temptest\tvldtypes1_error.results - -h5dump%2 ..\..\testfiles\tvldtypes2.h5 > ..\..\temptest\tvldtypes2.results 2>..\..\temptest\tvldtypes2_error.results -more ..\..\temptest\tvldtypes2_error.results >> ..\..\temptest\tvldtypes2.results -del ..\..\temptest\tvldtypes2_error.results - -h5dump%2 ..\..\testfiles\tvldtypes3.h5 > ..\..\temptest\tvldtypes3.results 2>..\..\temptest\tvldtypes3_error.results -more ..\..\temptest\tvldtypes3_error.results >> ..\..\temptest\tvldtypes3.results -del ..\..\temptest\tvldtypes3_error.results - -h5dump%2 ..\..\testfiles\tvldtypes4.h5 > ..\..\temptest\tvldtypes4.results 2>..\..\temptest\tvldtypes4_error.results -more ..\..\temptest\tvldtypes4_error.results >> ..\..\temptest\tvldtypes4.results -del ..\..\temptest\tvldtypes4_error.results - -h5dump%2 ..\..\testfiles\tvldtypes5.h5 > ..\..\temptest\tvldtypes5.results 2>..\..\temptest\tvldtypes5_error.results -more ..\..\temptest\tvldtypes5_error.results >> ..\..\temptest\tvldtypes5.results -del ..\..\temptest\tvldtypes5_error.results - -h5dump%2 ..\..\testfiles\tvlstr.h5 > ..\..\temptest\tvlstr.results 2>..\..\temptest\tvlstr_error.results -more ..\..\temptest\tvlstr_error.results >> ..\..\temptest\tvlstr.results -del ..\..\temptest\tvlstr_error.results - -h5dump%2 ..\..\testfiles\tarray1.h5 > ..\..\temptest\tarray1.results 2>..\..\temptest\tarray1_error.results -more ..\..\temptest\tarray1_error.results >> ..\..\temptest\tarray1.results -del ..\..\temptest\tarray1_error.results - -h5dump%2 ..\..\testfiles\tarray2.h5 > ..\..\temptest\tarray2.results 2>..\..\temptest\tarray2_error.results -more ..\..\temptest\tarray2_error.results >> ..\..\temptest\tarray2.results -del ..\..\temptest\tarray2_error.results - -h5dump%2 ..\..\testfiles\tarray3.h5 > ..\..\temptest\tarray3.results 2>..\..\temptest\tarray3_error.results -more ..\..\temptest\tarray3_error.results >> ..\..\temptest\tarray3.results -del ..\..\temptest\tarray3_error.results - -h5dump%2 ..\..\testfiles\tarray4.h5 > ..\..\temptest\tarray4.results 2>..\..\temptest\tarray4_error.results -more ..\..\temptest\tarray4_error.results >> ..\..\temptest\tarray4.results -del ..\..\temptest\tarray4_error.results - -h5dump%2 ..\..\testfiles\tarray5.h5 > ..\..\temptest\tarray5.results 2>..\..\temptest\tarray5_error.results -more ..\..\temptest\tarray5_error.results >> ..\..\temptest\tarray5.results -del ..\..\temptest\tarray5_error.results - -h5dump%2 ..\..\testfiles\tarray6.h5 > ..\..\temptest\tarray6.results 2>..\..\temptest\tarray6_error.results -more ..\..\temptest\tarray6_error.results >> ..\..\temptest\tarray6.results -del ..\..\temptest\tarray6_error.results - -h5dump%2 ..\..\testfiles\tarray7.h5 > ..\..\temptest\tarray7.results 2>..\..\temptest\tarray7_error.results -more ..\..\temptest\tarray7_error.results >> ..\..\temptest\tarray7.results -del ..\..\temptest\tarray7_error.results - -h5dump%2 ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty.results 2>..\..\temptest\tempty_error.results -more ..\..\temptest\tempty_error.results >> ..\..\temptest\tempty.results -del ..\..\temptest\tempty_error.results - -h5dump%2 ..\..\testfiles\tgrp_comments.h5 > ..\..\temptest\tgrp_comments.results 2>..\..\temptest\tgrp_comments_error.results -more ..\..\temptest\tgrp_comments_error.results >> ..\..\temptest\tgrp_comments.results -del ..\..\temptest\tgrp_comments_error.results - -h5dump%2 --filedriver=split ..\..\testfiles\tsplit_file > ..\..\temptest\tsplit_file.results 2>..\..\temptest\tsplit_file_error.results -more ..\..\temptest\tsplit_file_error.results >> ..\..\temptest\tsplit_file.results -del ..\..\temptest\tsplit_file_error.results - -REM h5dump%2 --filedriver=family ..\..\testfiles\tfamily%05d.h5 > ..\..\temptest\tfamily.results 2>..\..\temptest\thlink-5_error.results -REM more ..\..\temptest\tdset-1_error.results >> ..\..\temptest\tdset-1.results -REM del ..\..\temptest\tdset-1_error.results - -h5dump%2 --filedriver=multi ..\..\testfiles\tmulti > ..\..\temptest\tmulti.results 2>..\..\temptest\tmulti_error.results -more ..\..\temptest\tmulti_error.results >> ..\..\temptest\tmulti.results -del ..\..\temptest\tmulti_error.results - -h5dump%2 -w157 ..\..\testfiles\tlarge_objname.h5 > ..\..\temptest\tlarge_objname.results 2>..\..\temptest\tlarge_objname_error.results -more ..\..\temptest\tlarge_objname_error.results >> ..\..\temptest\tlarge_objname.results -del ..\..\temptest\tlarge_objname_error.results - -h5dump%2 -A ..\..\testfiles\tall.h5 > ..\..\temptest\tall-2A.results 2>..\..\temptest\tall-2A_error.results -more ..\..\temptest\tall-2A_error.results >> ..\..\temptest\tall-2A.results -del ..\..\temptest\tall-2A_error.results - -h5dump%2 --dataset=/g1/g1.1/dset1.1.1 --start=1,1 --stride=2,3 --count=3,2 --block=1,1 ..\..\testfiles\tall.h5 > ..\..\temptest\tall-4s.results 2>..\..\temptest\tall-4s_error.results -more ..\..\temptest\tall-4s_error.results >> ..\..\temptest\tall-4s.results -del ..\..\temptest\tall-4s_error.results - -h5dump%2 -d "/g1/g1.1/dset1.1.2[0;2;10;]" ..\..\testfiles\tall.h5 > ..\..\temptest\tall-5s.results 2>..\..\temptest\tall-5s_error.results -more ..\..\temptest\tall-5s_error.results >> ..\..\temptest\tall-5s.results -del ..\..\temptest\tall-5s_error.results - -h5dump%2 -d "/dset1[1,1;;;]" ..\..\testfiles\tdset.h5 > ..\..\temptest\tdset-3s.results 2>..\..\temptest\tdset-3s_error.results -more ..\..\temptest\tdset-3s_error.results >> ..\..\temptest\tdset-3s.results -del ..\..\temptest\tdset-3s_error.results - -h5dump%2 -d "/dset1[;3,2;4,4;1,4]" ..\..\testfiles\tdset2.h5 > ..\..\temptest\tdset2-1s.results 2>..\..\temptest\tdset2-1s_error.results -more ..\..\temptest\tdset2-1s_error.results >> ..\..\temptest\tdset2-1s.results -del ..\..\temptest\tdset2-1s_error.results - -h5dump%2 -r ..\..\testfiles\tchar.h5 > ..\..\temptest\tchar1.results 2>..\..\temptest\tchar1_error.results -more ..\..\temptest\tchar1_error.results >> ..\..\temptest\tchar1.results -del ..\..\temptest\tchar1_error.results - -h5dump%2 1> ..\..\temptest\tnofilename.results 2> ..\..\temptest\tnofilename_error.results -more ..\..\temptest\tnofilename_error.results >> ..\..\temptest\tnofilename.results -del ..\..\temptest\tnofilename_error.results - -h5dump%2 -H -B -d dset ..\..\testfiles\tfcontents1.h5 > ..\..\temptest\tboot1.results 2>..\..\temptest\tboot1_error.results -more ..\..\temptest\tboot1_error.results >> ..\..\temptest\tboot1.results -del ..\..\temptest\tboot1_error.results - -h5dump%2 -B ..\..\testfiles\tfcontents2.h5 > ..\..\temptest\tboot2.results 2>..\..\temptest\tboot2_error.results -more ..\..\temptest\tboot2_error.results >> ..\..\temptest\tboot2.results -del ..\..\temptest\tboot2_error.results - -h5dump%2 -p -d bogus ..\..\testfiles\tfcontents1.h5 > ..\..\temptest\tperror.results 2>..\..\temptest\tperror_error.results -more ..\..\temptest\tperror_error.results >> ..\..\temptest\tperror.results -del ..\..\temptest\tperror_error.results - -h5dump%2 -n ..\..\testfiles\tfcontents1.h5 > ..\..\temptest\tcontents.results 2>..\..\temptest\tcontents_error.results -more ..\..\temptest\tcontents_error.results >> ..\..\temptest\tcontents.results -del ..\..\temptest\tcontents_error.results - -h5dump%2 -H -p -d compact ..\..\testfiles\tfilters.h5 > ..\..\temptest\tcompact.results 2>..\..\temptest\tcompact_error.results -more ..\..\temptest\tcompact_error.results >> ..\..\temptest\tcompact.results -del ..\..\temptest\tcompact_error.results - -h5dump%2 -H -p -d contiguous ..\..\testfiles\tfilters.h5 > ..\..\temptest\tcontiguos.results 2>..\..\temptest\tcontiguos_error.results -more ..\..\temptest\tcontiguos_error.results >> ..\..\temptest\tcontiguos.results -del ..\..\temptest\tcontiguos_error.results - -h5dump%2 -H -p -d chunked ..\..\testfiles\tfilters.h5 > ..\..\temptest\tchunked.results 2>..\..\temptest\tchunked_error.results -more ..\..\temptest\tchunked_error.results >> ..\..\temptest\tchunked.results -del ..\..\temptest\tchunked_error.results - -h5dump%2 -H -p -d external ..\..\testfiles\tfilters.h5 > ..\..\temptest\texternal.results 2>..\..\temptest\texternal_error.results -more ..\..\temptest\texternal_error.results >> ..\..\temptest\texternal.results -del ..\..\temptest\texternal_error.results - -h5dump%2 -p ..\..\testfiles\tfvalues.h5 > ..\..\temptest\tfill.results 2>..\..\temptest\tfill_error.results -more ..\..\temptest\tfill_error.results >> ..\..\temptest\tfill.results -del ..\..\temptest\tfill_error.results - -h5dump%2 ..\..\testfiles\tattr2.h5 > ..\..\temptest\treference.results 2>..\..\temptest\treference_error.results -more ..\..\temptest\treference_error.results >> ..\..\temptest\treference.results -del ..\..\temptest\treference_error.results - -h5dump%2 -e ..\..\testfiles\tstr3.h5 > ..\..\temptest\tstringe.results 2>..\..\temptest\tstringe_error.results -more ..\..\temptest\tstringe_error.results >> ..\..\temptest\tstringe.results -del ..\..\temptest\tstringe_error.results - -h5dump%2 ..\..\testfiles\tstr3.h5 > ..\..\temptest\tstring.results 2>..\..\temptest\tstring_error.results -more ..\..\temptest\tstring_error.results >> ..\..\temptest\tstring.results -del ..\..\temptest\tstring_error.results - -h5dump%2 -r -d str4 ..\..\testfiles\tstr3.h5 > ..\..\temptest\tstring2.results 2>..\..\temptest\tstring2_error.results -more ..\..\temptest\tstring2_error.results >> ..\..\temptest\tstring2.results -del ..\..\temptest\tstring2_error.results - -h5dump%2 ..\..\testfiles\taindices.h5 > ..\..\temptest\tindicesyes.results 2>..\..\temptest\tindicesyes_error.results -more ..\..\temptest\tindicesyes_error.results >> ..\..\temptest\tindicesyes.results -del ..\..\temptest\tindicesyes_error.results - -h5dump%2 -y ..\..\testfiles\taindices.h5 > ..\..\temptest\tindicesno.results 2>..\..\temptest\tindicesno_error.results -more ..\..\temptest\tindicesno_error.results >> ..\..\temptest\tindicesno.results -del ..\..\temptest\tindicesno_error.results - -if "%HDF5_EXT_SZIP%"=="" GOTO NEXTSTEP1 -if %HDF5_EXT_SZIP%==szlib.lib ( - h5dump%2 -H -p -d szip ..\..\testfiles\tfilters.h5 > ..\..\temptest\tszip.results 2>..\..\temptest\tszip_error.results - more ..\..\temptest\tszip_error.results >> ..\..\temptest\tszip.results - del ..\..\temptest\tszip_error.results -) +set flag=--xml %tstr2% +call %tooltest% tstr2.h5.xml -:NEXTSTEP1 - -if "%HDF5_EXT_ZLIB%"=="" GOTO NEXTSTEP2 -if %HDF5_EXT_ZLIB%==zlib.lib ( - h5dump%2 -H -p -d deflate ..\..\testfiles\tfilters.h5 > ..\..\temptest\tdeflate.results 2>..\..\temptest\tdeflate_error.results - more ..\..\temptest\tdeflate_error.results >> ..\..\temptest\tdeflate.results - del ..\..\temptest\tdeflate_error.results -) +set flag=--xml %tref% +call %tooltest% tref.h5.xml -:NEXTSTEP2 - -h5dump%2 -H -p -d shuffle ..\..\testfiles\tfilters.h5 > ..\..\temptest\tshuffle.results 2>..\..\temptest\tshuffle_error.results -more ..\..\temptest\tshuffle_error.results >> ..\..\temptest\tshuffle.results -del ..\..\temptest\tshuffle_error.results - -h5dump%2 -H -p -d fletcher32 ..\..\testfiles\tfilters.h5 > ..\..\temptest\tfletcher32.results 2>..\..\temptest\tfletcher32_error.results -more ..\..\temptest\tfletcher32_error.results >> ..\..\temptest\tfletcher32.results -del ..\..\temptest\tfletcher32_error.results - -if "%HDF5_EXT_ZLIB%"=="" GOTO NEXTSTEP3 -if "%HDF5_EXT_SZIP%"=="" GOTO NEXTSTEP3 -if %HDF5_EXT_ZLIB%==zlib.lib ( - if %HDF5_EXT_SZIP%==szlib.lib ( - h5dump%2 -H -p -d all ..\..\testfiles\tfilters.h5 > ..\..\temptest\tallfilters.results 2>..\..\temptest\tallfilters_error.results - more ..\..\temptest\tallfilters_error.results >> ..\..\temptest\tallfilters.results - del ..\..\temptest\tallfilters_error.results - ) -) +set flag=--xml %tname-amp% +call %tooltest% tname-amp.h5.xml -:NEXTSTEP3 +set flag=--xml %tname-apos% +call %tooltest% tname-apos.h5.xml -h5dump%2 -H -p -d myfilter ..\..\testfiles\tfilters.h5 > ..\..\temptest\tuserfilter.results 2>..\..\temptest\tuserfilter_error.results -more ..\..\temptest\tuserfilter_error.results >> ..\..\temptest\tuserfilter.results -del ..\..\temptest\tuserfilter_error.results +set flag=--xml %tname-gt% +call %tooltest% tname-gt.h5.xml -h5dump%2 ..\..\testfiles\tnullspace.h5 > ..\..\temptest\tnullspace.results 2>..\..\temptest\tnullspace_error.results -more ..\..\temptest\tnullspace_error.results >> ..\..\temptest\tnullspace.results -del ..\..\temptest\tnullspace_error.results +set flag=--xml %tname-lt% +call %tooltest% tname-lt.h5.xml -h5dump%2 --xml ..\..\testfiles\tall.h5 > ..\..\temptest\tall.h5.xml.results 2>..\..\temptest\tall.h5.xml_error.results -more ..\..\temptest\tall.h5.xml_error.results >> ..\..\temptest\tall.h5.xml.results -del ..\..\temptest\tall.h5.xml_error.results +set flag=--xml %tname-quot% +call %tooltest% tname-quot.h5.xml -h5dump%2 --xml ..\..\testfiles\tarray1.h5 > ..\..\temptest\tarray1.h5.xml.results 2>..\..\temptest\tarray1.h5.xml_error.results -more ..\..\temptest\tarray1.h5.xml_error.results >> ..\..\temptest\tarray1.h5.xml.results -del ..\..\temptest\tarray1.h5.xml_error.results +set flag=--xml %tname-sp% +call %tooltest% tname-sp.h5.xml -h5dump%2 --xml ..\..\testfiles\tarray2.h5 > ..\..\temptest\tarray2.h5.xml.results 2>..\..\temptest\tarray2.h5.xml_error.results -more ..\..\temptest\tarray2.h5.xml_error.results >> ..\..\temptest\tarray2.h5.xml.results -del ..\..\temptest\tarray2.h5.xml_error.results +set flag=--xml %tstring% +call %tooltest% tstring.h5.xml -h5dump%2 --xml ..\..\testfiles\tarray3.h5 > ..\..\temptest\tarray3.h5.xml.results 2>..\..\temptest\tarray3.h5.xml_error.results -more ..\..\temptest\tarray3.h5.xml_error.results >> ..\..\temptest\tarray3.h5.xml.results -del ..\..\temptest\tarray3.h5.xml_error.results +set flag=--xml %tstring-at% +call %tooltest% tstring-at.h5.xml -h5dump%2 --xml ..\..\testfiles\tarray6.h5 > ..\..\temptest\tarray6.h5.xml.results 2>..\..\temptest\tarray6.h5.xml_error.results -more ..\..\temptest\tarray6.h5.xml_error.results >> ..\..\temptest\tarray6.h5.xml.results -del ..\..\temptest\tarray6.h5.xml_error.results +set flag=--xml %tref-escapes% +call %tooltest% tref-escapes.h5.xml -h5dump%2 --xml ..\..\testfiles\tarray7.h5 > ..\..\temptest\tarray7.h5.xml.results 2>..\..\temptest\tarray7.h5.xml_error.results -more ..\..\temptest\tarray7.h5.xml_error.results >> ..\..\temptest\tarray7.h5.xml.results -del ..\..\temptest\tarray7.h5.xml_error.results +set flag=--xml %tref-escapes-at% +call %tooltest% tref-escapes-at.h5.xml -h5dump%2 --xml ..\..\testfiles\tattr.h5 > ..\..\temptest\tattr.h5.xml.results 2>..\..\temptest\tattr.h5.xml_error.results -more ..\..\temptest\tattr.h5.xml_error.results >> ..\..\temptest\tattr.h5.xml.results -del ..\..\temptest\tattr.h5.xml_error.results +set flag=--xml %tnodata% +call %tooltest% tnodata.h5.xml -h5dump%2 --xml ..\..\testfiles\tbitfields.h5 > ..\..\temptest\tbitfields.h5.xml.results 2>..\..\temptest\tbitfields.h5.xml_error.results -more ..\..\temptest\tbitfields.h5.xml_error.results >> ..\..\temptest\tbitfields.h5.xml.results -del ..\..\temptest\tbitfields.h5.xml_error.results +set flag=--xml %tarray1% +call %tooltest% tarray1.h5.xml -h5dump%2 --xml ..\..\testfiles\tcompound.h5 > ..\..\temptest\tcompound.h5.xml.results 2>..\..\temptest\tcompound.h5.xml_error.results -more ..\..\temptest\tcompound.h5.xml_error.results >> ..\..\temptest\tcompound.h5.xml-1.results -del ..\..\temptest\tcompound.h5.xml_error.results +set flag=--xml %tarray2% +call %tooltest% tarray2.h5.xml -h5dump%2 --xml ..\..\testfiles\tcompound2.h5 > ..\..\temptest\tcompound2.h5.xml.results 2>..\..\temptest\tcompound2.h5.xml_error.results -more ..\..\temptest\tcompound2.h5.xml_error.results >> ..\..\temptest\tcompound2.h5.xml.results -del ..\..\temptest\tcompound2.h5.xml_error.results +set flag=--xml %tarray3% +call %tooltest% tarray3.h5.xml -h5dump%2 --xml ..\..\testfiles\tdatareg.h5 > ..\..\temptest\tdatareg.h5.xml.results 2>..\..\temptest\tdatareg.h5.xml_error.results -more ..\..\temptest\tdatareg.h5.xml_error.results >> ..\..\temptest\tdatareg.h5.xml.results -del ..\..\temptest\tdatareg.h5.xml_error.results +set flag=--xml %tarray6% +call %tooltest% tarray6.h5.xml -h5dump%2 --xml ..\..\testfiles\tdset.h5 > ..\..\temptest\tdset.h5.xml.results 2>..\..\temptest\tdset.h5.xml_error.results -more ..\..\temptest\tdset.h5.xml_error.results >> ..\..\temptest\tdset.h5.xml.results -del ..\..\temptest\tdset.h5.xml_error.results +set flag=--xml %tarray7% +call %tooltest% tarray7.h5.xml -h5dump%2 --xml ..\..\testfiles\tdset2.h5 > ..\..\temptest\tdset2.h5.xml.results 2>..\..\temptest\tdset2.h5.xml_error.results -more ..\..\temptest\tdset2.h5.xml_error.results >> ..\..\temptest\tdset2.h5.xml.results -del ..\..\temptest\tdset2.h5.xml_error.results +set flag=--xml %tvldtypes1% +call %tooltest% tvldtypes1.h5.xml -h5dump%2 --xml ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty.h5.xml.results 2>..\..\temptest\tempty.h5.xm_error.results -more ..\..\temptest\tempty.h5.xm_error.results >> ..\..\temptest\tempty.h5.xm.results -del ..\..\temptest\tempty.h5.xm_error.results +set flag=--xml %tvldtypes2% +call %tooltest% tvldtypes2.h5.xml -h5dump%2 --xml ..\..\testfiles\tenum.h5 > ..\..\temptest\tenum.h5.xml.results 2>..\..\temptest\tenum.h5.xml_error.results -more ..\..\temptest\tenum.h5.xml_error.results >> ..\..\temptest\tenum.h5.xml.results -del ..\..\temptest\tenum.h5.xml_error.results +set flag=--xml %tvldtypes3% +call %tooltest% tvldtypes3.h5.xml -h5dump%2 --xml ..\..\testfiles\tgroup.h5 > ..\..\temptest\tgroup.h5.xml.results 2>..\..\temptest\tgroup.h5.xml_error.results -more ..\..\temptest\tgroup.h5.xml_error.results >> ..\..\temptest\tgroup.h5.xml.results -del ..\..\temptest\tgroup.h5.xml_error.results +set flag=--xml %tvldtypes4% +call %tooltest% tvldtypes4.h5.xml -REM h5dump%2 --xml ..\..\testfiles\thlink.h5 > ..\..\temptest\thlink.h5.xml.results 2>..\..\temptest\thlink.h5.xml_error.results -REM more ..\..\temptest\thlink.h5.xml_error.results >> ..\..\temptest\thlink.h5.xml.results -REM del ..\..\temptest\thlink.h5.xml_error.results +set flag=--xml %tvldtypes5% +call %tooltest% tvldtypes5.h5.xml -h5dump%2 --xml ..\..\testfiles\tloop.h5 > ..\..\temptest\tloop.h5.xml.results 2>..\..\temptest\tloop.h5.xml_error.results -more ..\..\temptest\tloop.h5.xml_error.results >> ..\..\temptest\tloop.h5.xml.results -del ..\..\temptest\tloop.h5.xml_error.results +set flag=--xml %tvlstr% +call %tooltest% tvlstr.h5.xml -h5dump%2 --xml ..\..\testfiles\tloop2.h5 > ..\..\temptest\tloop2.h5.xml.results 2>..\..\temptest\tloop2.h5.xml_error.results -more ..\..\temptest\tloop2.h5.xml_error.results >> ..\..\temptest\tloop2.h5.xml.results -del ..\..\temptest\tloop2.h5.xml_error.results +set flag=--xml %tsaf% +call %tooltest% tsaf.h5.xml -REM h5dump%2 --xml ..\..\testfiles\tmany.h5 > ..\..\temptest\tmany.h5.xml.results 2>..\..\temptest\tmany.h5.xml_error.results -REM more ..\..\temptest\tmany.h5.xml_error.results >> ..\..\temptest\tmany.h5.xml.results -REM del ..\..\temptest\tmany.h5.xml_error.results +set flag=--xml %tempty% +call %tooltest% tempty.h5.xml -h5dump%2 --xml ..\..\testfiles\tname-amp.h5 > ..\..\temptest\tname-amp.h5.xml.results 2>..\..\temptest\tname-amp.h5.xml_error.results -more ..\..\temptest\tname-amp.h5.xml_error.results >> ..\..\temptest\tname-amp.h5.xml.results -del ..\..\temptest\tname-amp.h5.xml_error.results +set flag=--xml %tnamed_dtype_attr% +call %tooltest% tnamed_dtype_attr.h5.xml -h5dump%2 --xml ..\..\testfiles\tname-apos.h5 > ..\..\temptest\tname-apos.h5.xml.results 2>..\..\temptest\tname-apos.h5.xml_error.results -more ..\..\temptest\tname-apos.h5.xml_error.results >> ..\..\temptest\tname-apos.h5.xml.results -del ..\..\temptest\tname-apos.h5.xml_error.results -h5dump%2 --xml ..\..\testfiles\tname-gt.h5 > ..\..\temptest\tname-gt.h5.xml.results 2>..\..\temptest\tname-gt.h5.xml_error.results -more ..\..\temptest\tname-gt.h5.xml_error.results >> ..\..\temptest\tname-gt.h5.xml.results -del ..\..\temptest\tname-gt.h5.xml_error.results +::Test dataset and attribute of null space. Commented out: +::wait until the XML schema is updated for null space. +set flag=--xml tnulspace.h5 +call %tooltest% tnullspace.h5.xml SKIP -h5dump%2 --xml ..\..\testfiles\tname-lt.h5 > ..\..\temptest\tname-lt.h5.xml.results 2>..\..\temptest\tname-lt.h5.xml_error.results -more ..\..\temptest\tname-lt.h5.xml_error.results >> ..\..\temptest\tname-lt.h5.xml.results -del ..\..\temptest\tname-lt.h5.xml_error.results +::other options for xml -h5dump%2 --xml ..\..\testfiles\tname-quot.h5 > ..\..\temptest\tname-quot.h5.xml.results 2>..\..\temptest\tname-quot.h5.xml_error.results -more ..\..\temptest\tname-quot.h5.xml_error.results >> ..\..\temptest\tname-quot.h5.xml.results -del ..\..\temptest\tname-quot.h5.xml_error.results +set flag=--xml --use-dtd %tempty% +call %tooltest% tempty-dtd.h5.xml -h5dump%2 --xml ..\..\testfiles\tname-sp.h5 > ..\..\temptest\tname-sp.h5.xml.results 2>..\..\temptest\tname-sp.h5.xml_error.results -more ..\..\temptest\tname-sp.h5.xml_error.results >> ..\..\temptest\tname-sp.h5.xml.results -del ..\..\temptest\tname-sp.h5.xml_error.results +set flag=--xml -u %tempty% +call %tooltest% tempty-dtd-2.h5.xml -h5dump%2 --xml ..\..\testfiles\tnestedcomp.h5 > ..\..\temptest\tnestedcomp.h5.xml.results 2>..\..\temptest\tnestedcomp.h5.xml_error.results -more ..\..\temptest\tnestedcomp.h5.xml_error.results >> ..\..\temptest\tnestedcomp.h5.xml.results -del ..\..\temptest\tnestedcomp.h5.xml_error.results +set flag=--xml -X ":" %tempty% +call %tooltest% tempty-nons.h5.xml -h5dump%2 --xml ..\..\testfiles\tcompound_complex.h5 > ..\..\temptest\tcompound_complex.h5.xml.results 2>..\..\temptest\tcompound_complex.h5.xml_error.results -more ..\..\temptest\tcompound_complex.h5.xml_error.results >> ..\..\temptest\tcompound_complex.h5.xml.results -del ..\..\temptest\tcompound_complex.h5.xml_error.results +set flag=--xml --xml-ns=":" %tempty% +call %tooltest% tempty-nons-2.h5.xml -h5dump%2 --xml ..\..\testfiles\tnodata.h5 > ..\..\temptest\tnodata.h5.xml.results 2>..\..\temptest\tnodata.h5.xml_error.results -more ..\..\temptest\tnodata.h5.xml_error.results >> ..\..\temptest\tnodata.h5.xml.results -del ..\..\temptest\tnodata.h5.xml_error.results +::Some of these combinations are syntactically correct but +::the URLs are dummies -h5dump%2 --xml ..\..\testfiles\tobjref.h5 > ..\..\temptest\tobjref.h5.xml.results 2>..\..\temptest\tobjref.h5.xml_error.results -more ..\..\temptest\tobjref.h5.xml_error.results >> ..\..\temptest\tobjref.h5.xml.results -del ..\..\temptest\tobjref.h5.xml_error.results +set flag=--xml -X "thing:" %tempty% +call %tooltest% tempty-ns.h5.xml -h5dump%2 --xml ..\..\testfiles\topaque.h5 > ..\..\temptest\topaque.h5.xml.results 2>..\..\temptest\topaque.h5.xml_error.results -more ..\..\temptest\topaque.h5.xml_error.results >> ..\..\temptest\topaque.h5.xml.results -del ..\..\temptest\topaque.h5.xml_error.results +set flag=--xml --xml-ns="thing:" %tempty% +call %tooltest% tempty-ns-2.h5.xml -h5dump%2 --xml ..\..\testfiles\tref-escapes-at.h5 > ..\..\temptest\tref-escapes-at.h5.xml.results 2>..\..\temptest\tref-escapes-at.h5.xml_error.results -more ..\..\temptest\tref-escapes-at.h5.xml_error.results >> ..\..\temptest\tref-escapes-at.h5.xml.results -del ..\..\temptest\tref-escapes-at.h5.xml_error.results +set flag=--xml --xml-ns=":" --xml-dtd="http://somewhere.net" %tempty% +call %tooltest% tempty-nons-uri.h5.xml -h5dump%2 --xml ..\..\testfiles\tref-escapes.h5 > ..\..\temptest\tref-escapes.h5.xml.results 2>..\..\temptest\tref-escapes.h5.xml_error.results -more ..\..\temptest\tref-escapes.h5.xml_error.results >> ..\..\temptest\tref-escapes.h5.xml.results -del ..\..\temptest\tref-escapes.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tref.h5 > ..\..\temptest\tref.h5.xml.results 2>..\..\temptest\tref.h5.xml_error.results -more ..\..\temptest\tref.h5.xml_error.results >> ..\..\temptest\tref.h5.xml.results -del ..\..\temptest\tref.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tsaf.h5 > ..\..\temptest\tsaf.h5.xml.results 2>..\..\temptest\tsaf.h5.xml_error.results -more ..\..\temptest\tsaf.h5.xml_error.results >> ..\..\temptest\tsaf.h5.xml.results -del ..\..\temptest\tsaf.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tslink.h5 > ..\..\temptest\tslink.h5.xml.results 2>..\..\temptest\tslink.h5.xml_error.results -more ..\..\temptest\tslink.h5.xml_error.results >> ..\..\temptest\tslink.h5.xml.results -del ..\..\temptest\tslink.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tstr.h5 > ..\..\temptest\tstr.h5.xml.results 2>..\..\temptest\tstr.h5.xml_error.results -more ..\..\temptest\tstr.h5.xml_error.results >> ..\..\temptest\tstr.h5.xml.results -del ..\..\temptest\tstr.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tstr2.h5 > ..\..\temptest\tstr2.h5.xml.results 2>..\..\temptest\tstr2.h5.xml_error.results -more ..\..\temptest\tstr2.h5.xml_error.results >> ..\..\temptest\tstr2.h5.xml.results -del ..\..\temptest\tstr2.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tstring-at.h5 > ..\..\temptest\tstring-at.h5.xml.results 2>..\..\temptest\tstring-at.h5.xml_error.results -more ..\..\temptest\tstring-at.h5.xml_error.results >> ..\..\temptest\tstring-at.h5.xml.results -del ..\..\temptest\tstring-at.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tstring.h5 > ..\..\temptest\tstring.h5.xml.results 2>..\..\temptest\tstring.h5.xml_error.results -more ..\..\temptest\tstring.h5.xml_error.results >> ..\..\temptest\tstring.h5.xml.results -del ..\..\temptest\tstring.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tvldtypes1.h5 > ..\..\temptest\tvldtypes1.h5.xml.results 2>..\..\temptest\tvldtypes1.h5.xml_error.results -more ..\..\temptest\tvldtypes1.h5.xml_error.results >> ..\..\temptest\tvldtypes1.h5.xml.results -del ..\..\temptest\tvldtypes1.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tvldtypes2.h5 > ..\..\temptest\tvldtypes2.h5.xml.results 2>..\..\temptest\tvldtypes2.h5.xml_error.results -more ..\..\temptest\tvldtypes2.h5.xml_error.results >> ..\..\temptest\tvldtypes2.h5.xml.results -del ..\..\temptest\tvldtypes2.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tvldtypes3.h5 > ..\..\temptest\tvldtypes3.h5.xml.results 2>..\..\temptest\tvldtypes3.h5.xml_error.results -more ..\..\temptest\tvldtypes3.h5.xml_error.results >> ..\..\temptest\tvldtypes3.h5.xml.results -del ..\..\temptest\tvldtypes3.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tvldtypes4.h5 > ..\..\temptest\tvldtypes4.h5.xml.results 2>..\..\temptest\tvldtypes4.h5.xml_error.results -more ..\..\temptest\tvldtypes4.h5.xml_error.results >> ..\..\temptest\tvldtypes4.h5.xml.results -del ..\..\temptest\tvldtypes4.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tvldtypes5.h5 > ..\..\temptest\tvldtypes5.h5.xml.results 2>..\..\temptest\tvldtypes5.h5.xml_error.results -more ..\..\temptest\tvldtypes5.h5.xml_error.results >> ..\..\temptest\tvldtypes5.h5.xml.results -del ..\..\temptest\tvldtypes5.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tvlstr.h5 > ..\..\temptest\tvlstr.h5.xml.results 2>..\..\temptest\tvlstr.h5.xml_error.results -more ..\..\temptest\tvlstr.h5.xml_error.results >> ..\..\temptest\tvlstr.h5.xml.results -del ..\..\temptest\tvlstr.h5.xml_error.results - -h5dump%2 --xml ..\..\testfiles\tnamed_dtype_attr.h5 > ..\..\temptest\tnamed_dtype_attr.h5.xml.results 2>..\..\temptest\tnamed_dtype_attr.h5.xml_error.results -more ..\..\temptest\tnamed_dtype_attr.h5.xml_error.results >> ..\..\temptest\tnamed_dtype_attr.h5.xml.results -del ..\..\temptest\tnamed_dtype_attr.h5.xml_error.results - -h5dump%2 --xml --use-dtd ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty-dtd.h5.xml.results 2>..\..\temptest\tempty-dtd.h5.xml_error.results -more ..\..\temptest\tempty-dtd.h5.xml_error.results >> ..\..\temptest\tempty-dtd.h5.xml.results -del ..\..\temptest\tempty-dtd.h5.xml_error.results - -h5dump%2 --xml -u ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty-dtd-2.h5.xml.results 2>..\..\temptest\tempty-dtd-2.h5.xml_error.results -more ..\..\temptest\tempty-dtd-2.h5.xml_error.results >> ..\..\temptest\tempty-dtd-2.h5.xml.results -del ..\..\temptest\tempty-dtd-2.h5.xml_error.results - -h5dump%2 --xml -X ":" ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty-nons.h5.xml.results 2>..\..\temptest\tempty-nons.h5.xml_error.results -more ..\..\temptest\tempty-nons.h5.xml_error.results >> ..\..\temptest\tempty-nons.h5.xml.results -del ..\..\temptest\tempty-nons.h5.xml_error.results - -h5dump%2 --xml --xml-ns=":" ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty-nons-2.h5.xml.results 2>..\..\temptest\tempty-nons-2.h5.xml_error.results -more ..\..\temptest\tempty-nons-2.h5.xml_error.results >> ..\..\temptest\tempty-nons-2.h5.xml.results -del ..\..\temptest\tempty-nons-2.h5.xml_error.results - -h5dump%2 --xml -X "thing:" ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty-ns.h5.xml.results 2>..\..\temptest\tempty-ns.h5.xml_error.results -more ..\..\temptest\tempty-ns.h5.xml_error.results >> ..\..\temptest\tempty-ns.h5.xml.results -del ..\..\temptest\tempty-ns.h5.xml_error.results - -h5dump%2 --xml --xml-ns="thing:" ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty-ns-2.h5.xml.results 2>..\..\temptest\tempty-ns-2.h5.xml_error.results -more ..\..\temptest\tempty-ns-2.h5.xml_error.results >> ..\..\temptest\tempty-ns-2.h5.xml.results -del ..\..\temptest\tempty-ns-2.h5.xml_error.results - -h5dump%2 --xml --xml-ns=":" --xml-dtd="http://somewhere.net" ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty-nons-uri.h5.xml.results 2>..\..\temptest\tempty-nons-uri.h5.xml_error.results -more ..\..\temptest\tempty-nons-uri.h5.xml_error.results >> ..\..\temptest\tempty-nons-uri.h5.xml.results -del ..\..\temptest\tempty-nons-uri.h5.xml_error.results - -h5dump%2 --xml --use-dtd --xml-dtd="http://somewhere.net" ..\..\testfiles\tempty.h5 > ..\..\temptest\tempty-dtd-uri.h5.xml.results 2>..\..\temptest\tempty-dtd-uri.h5.xml_error.results -more ..\..\temptest\tempty-dtd-uri.h5.xml_error.results >> ..\..\temptest\tempty-dtd-uri.h5.xml.results -del ..\..\temptest\tempty-dtd-uri.h5.xml_error.results - -h5dump%2 --xml -A ..\..\testfiles\tall.h5 > ..\..\temptest\tall-2A.h5.xml.results 2>..\..\temptest\tall-2A.h5.xml_error.results -more ..\..\temptest\tall-2A.h5.xml_error.results >> ..\..\temptest\tall-2A.h5.xml.results -del ..\..\temptest\tall-2A.h5.xml_error.results - -cd ..\..\temptest -mkdir fctemp - -REM ############################################################################## -REM ############################################################################## -REM ### T H E T E S T S ### -REM ############################################################################## -REM ############################################################################## - -type nul > ..\dumptest%2_%1.txt -echo ========================================== >> ..\dumptest%2_%1.txt -echo Testing dumptest.bat >> ..\dumptest%2_%1.txt -echo ========================================== >> ..\dumptest%2_%1.txt - -REM test for displaying groups -call ..\deleteline tgroup-1.results 1 -cd ..\testfiles -call ..\deleteline tgroup-1.ddl 4 -cd ..\temptest\fctemp -fc tgroup-1.ddl tgroup-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tgroup.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tgroup.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for displaying the selected groups -call ..\deleteline tgroup-2.results 1 -cd ..\testfiles -call ..\deleteline tgroup-2.ddl 4 -cd ..\temptest\fctemp -fc tgroup-2.ddl tgroup-2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -g /g2 -g / -g /y tgroup.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -g /g2 -g / -g /y tgroup.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for displaying simple space datasets -call ..\deleteline tdset-1.results 1 -cd ..\testfiles -call ..\deleteline tdset-1.ddl 4 -cd ..\temptest\fctemp -fc tdset-1.ddl tdset-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tdset.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tdset.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for displaying selected datasets -call ..\deleteline tdset-2.results 1 -cd ..\testfiles -call ..\deleteline tdset-2.ddl 4 -cd ..\temptest\fctemp -fc tdset-2.ddl tdset-2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -d dset1 -d /dset2 --dataset=dset3 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -H -d dset1 -d /dset2 --dataset=dset3 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for displaying attributes -call ..\deleteline tattr-1.results 1 -cd ..\testfiles -call ..\deleteline tattr-1.ddl 4 -cd ..\temptest\fctemp -fc tattr-1.ddl tattr-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tattr.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tattr.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for displaying the selected attributes of string type and scalar space -call ..\deleteline tattr-2.results 1 -cd ..\testfiles -call ..\deleteline tattr-2.ddl 4 -cd ..\temptest\fctemp -fc tattr-2.ddl tattr-2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -a /attr1 --attribute /attr4 --attribute=/attr5 tattr. PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -a /attr1 --attribute /attr4 --attribute=/attr5 tattr. FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for header and error messages -call ..\deleteline tattr-3.results 1 -cd ..\testfiles -call ..\deleteline tattr-3.ddl 4 -cd ..\temptest\fctemp -fc tattr-3.ddl tattr-3.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --header -a /attr2 --attribute=/attr tattr.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --header -a /attr2 --attribute=/attr tattr.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for displaying shared datatype in attribute -call ..\deleteline tnamed_dtype_attr.results 1 -cd ..\testfiles -call ..\deleteline tnamed_dtype_attr.ddl 4 -cd ..\temptest\fctemp -fc tnamed_dtype_attr.ddl tnamed_dtype_attr.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -A tnamed_dtype_attr.h5 tnamed_dtype_attr.results PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -A tnamed_dtype_attr.h5 tnamed_dtype_attr.results FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for displaying soft links -call ..\deleteline tslink-1.results 1 -cd ..\testfiles -call ..\deleteline tslink-1.ddl 4 -cd ..\temptest\fctemp -fc tslink-1.ddl tslink-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tslink.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tslink.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for displaying the selected link -call ..\deleteline tslink-2.results 1 -cd ..\testfiles -call ..\deleteline tslink-2.ddl 4 -cd ..\temptest\fctemp -fc tslink-2.ddl tslink-2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -l slink2 tslink.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -l slink2 tslink.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM tests for hard links -call ..\deleteline thlink-1.results 1 -cd ..\testfiles -call ..\deleteline thlink-1.ddl 4 -cd ..\temptest\fctemp -fc thlink-1.ddl thlink-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump thlink.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump thlink.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline thlink-2.results 1 -cd ..\testfiles -call ..\deleteline thlink-2.ddl 4 -cd ..\temptest\fctemp -fc thlink-2.ddl thlink-2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -d /g1/dset2 --dataset /dset1 --dataset=/g1/g1.1/dset3 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -d /g1/dset2 --dataset /dset1 --dataset=/g1/g1.1/dset3 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline thlink-3.results 1 -cd ..\testfiles -call ..\deleteline thlink-3.ddl 4 -cd ..\temptest\fctemp -fc thlink-3.ddl thlink-3.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -d /g1/g1.1/dset3 --dataset /g1/dset2 --dataset=/dset1 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -d /g1/g1.1/dset3 --dataset /g1/dset2 --dataset=/dset1 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline thlink-4.results 1 -cd ..\testfiles -call ..\deleteline thlink-4.ddl 4 -cd ..\temptest\fctemp -fc thlink-4.ddl thlink-4.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -g /g1 thlink.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -g /g1 thlink.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline thlink-5.results 1 -cd ..\testfiles -call ..\deleteline thlink-5.ddl 4 -cd ..\temptest\fctemp -fc thlink-5.ddl thlink-5.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -d /dset1 -g /g2 -d /g1/dset2 thlink.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -d /dset1 -g /g2 -d /g1/dset2 thlink.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM tests for compound data types -call ..\deleteline tcomp-1.results 1 -cd ..\testfiles -call ..\deleteline tcomp-1.ddl 4 -cd ..\temptest\fctemp -fc tcomp-1.ddl tcomp-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tcompound.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tcompound.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for named data types -call ..\deleteline tcomp-2.results 1 -cd ..\testfiles -call ..\deleteline tcomp-2.ddl 4 -cd ..\temptest\fctemp -fc tcomp-2.ddl tcomp-2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -t /type1 --datatype /type2 --datatype=/group1/type3 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -t /type1 --datatype /type2 --datatype=/group1/type3 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for unamed type -call ..\deleteline tcomp-3.results 1 -cd ..\testfiles -call ..\deleteline tcomp-3.ddl 4 -cd ..\temptest\fctemp -fc tcomp-3.ddl tcomp-3.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -t /#6632:0 -g /group2 tcompound.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -t /#6632:0 -g /group2 tcompound.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test complicated compound datatype -call ..\deleteline tcompound_complex.results 1 -cd ..\testfiles -call ..\deleteline tcomp-4.ddl 4 -cd ..\temptest\fctemp -fc tcomp-4.ddl tcompound_complex.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tcompound_complex.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tcompound_complex.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for the nested compound type -call ..\deleteline tnestcomp-1.results 1 -cd ..\testfiles -call ..\deleteline tnestcomp-1.ddl 4 -cd ..\temptest\fctemp -fc tnestcomp-1.ddl tnestcomp-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tnestedcomp.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tnestedcomp.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for options -call ..\deleteline tall-1.results 1 -cd ..\testfiles -call ..\deleteline tall-1.ddl 4 -cd ..\temptest\fctemp -fc tall-1.ddl tall-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tall.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tall.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tall-2.results 1 -cd ..\testfiles -call ..\deleteline tall-2.ddl 4 -cd ..\temptest\fctemp -fc tall-2.ddl tall-2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --header -g /g1/g1.1 -a attr2 tall.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --header -g /g1/g1.1 -a attr2 tall.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tall-3.results 1 -cd ..\testfiles -call ..\deleteline tall-3.ddl 4 -cd ..\temptest\fctemp -fc tall-3.ddl tall-3.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -d /g2/dset2.1 -l /g1/g1.2/g1.2.1/slink tall.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -d /g2/dset2.1 -l /g1/g1.2/g1.2.1/slink tall.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for loop detection -call ..\deleteline tloop-1.results 1 -cd ..\testfiles -call ..\deleteline tloop-1.ddl 4 -cd ..\temptest\fctemp -fc tloop-1.ddl tloop-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tloop.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tloop.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for string -call ..\deleteline tstr-1.results 1 -cd ..\testfiles -call ..\deleteline tstr-1.ddl 4 -cd ..\temptest\fctemp -fc tstr-1.ddl tstr-1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tstr.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tstr.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tstr-2.results 1 -cd ..\testfiles -call ..\deleteline tstr-2.ddl 4 -cd ..\temptest\fctemp -fc tstr-2.ddl tstr-2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tstr2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tstr2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for file created by Lib SAF team -call ..\deleteline tsaf.results 1 -cd ..\testfiles -call ..\deleteline tsaf.ddl 4 -cd ..\temptest\fctemp -fc tsaf.ddl tsaf.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tsaf.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tsaf.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for file with variable length data -call ..\deleteline tvldtypes1.results 1 -cd ..\testfiles -call ..\deleteline tvldtypes1.ddl 4 -cd ..\temptest\fctemp -fc tvldtypes1.ddl tvldtypes1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tvldtypes1.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tvldtypes1.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tvldtypes2.results 1 -cd ..\testfiles -call ..\deleteline tvldtypes2.ddl 4 -cd ..\temptest\fctemp -fc tvldtypes2.ddl tvldtypes2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tvldtypes2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tvldtypes2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tvldtypes3.results 1 -cd ..\testfiles -call ..\deleteline tvldtypes3.ddl 4 -cd ..\temptest\fctemp -fc tvldtypes3.ddl tvldtypes3.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tvldtypes3.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tvldtypes3.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tvldtypes4.results 1 -cd ..\testfiles -call ..\deleteline tvldtypes4.ddl 4 -cd ..\temptest\fctemp -fc tvldtypes4.ddl tvldtypes4.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tvldtypes4.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tvldtypes4.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tvldtypes5.results 1 -cd ..\testfiles -call ..\deleteline tvldtypes5.ddl 4 -cd ..\temptest\fctemp -fc tvldtypes5.ddl tvldtypes5.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tvldtypes5.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tvldtypes5.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for file with variable length string data -call ..\deleteline tvlstr.results 1 -cd ..\testfiles -call ..\deleteline tvlstr.ddl 4 -cd ..\temptest\fctemp -fc tvlstr.ddl tvlstr.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tvlstr.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tvlstr.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for files with array data -call ..\deleteline tarray1.results 1 -cd ..\testfiles -call ..\deleteline tarray1.ddl 4 -cd ..\temptest\fctemp -fc tarray1.ddl tarray1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tarray1.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tarray1.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tarray2.results 1 -cd ..\testfiles -call ..\deleteline tarray2.ddl 4 -cd ..\temptest\fctemp -fc tarray2.ddl tarray2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tarray2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tarray2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tarray3.results 1 -cd ..\testfiles -call ..\deleteline tarray3.ddl 4 -cd ..\temptest\fctemp -fc tarray3.ddl tarray3.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tarray3.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tarray3.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tarray4.results 1 -cd ..\testfiles -call ..\deleteline tarray4.ddl 4 -cd ..\temptest\fctemp -fc tarray4.ddl tarray4.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tarray4.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tarray4.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tarray5.results 1 -cd ..\testfiles -call ..\deleteline tarray5.ddl 4 -cd ..\temptest\fctemp -fc tarray5.ddl tarray5.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tarray5.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tarray5.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tarray6.results 1 -cd ..\testfiles -call ..\deleteline tarray6.ddl 4 -cd ..\temptest\fctemp -fc tarray6.ddl tarray6.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tarray6.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tarray6.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tarray7.results 1 -cd ..\testfiles -call ..\deleteline tarray7.ddl 4 -cd ..\temptest\fctemp -fc tarray7.ddl tarray7.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tarray7.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tarray7.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for files with empty data -call ..\deleteline tempty.results 1 -cd ..\testfiles -call ..\deleteline tempty.ddl 4 -cd ..\temptest\fctemp -fc tempty.ddl tempty.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tempty.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tempty.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for files with groups that have comments -call ..\deleteline tgrp_comments.results 1 -cd ..\testfiles -call ..\deleteline tgrp_comments.ddl 4 -cd ..\temptest\fctemp -fc tgrp_comments.ddl tgrp_comments.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tgrp_comments.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tgrp_comments.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test the --filedriver flag -call ..\deleteline tsplit_file.results 1 -cd ..\testfiles -call ..\deleteline tsplit_file.ddl 4 -cd ..\temptest\fctemp -fc tsplit_file.ddl tsplit_file.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --filedriver=split tsplit_file PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --filedriver=split tsplit_file FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tfamily.ddl --filedriver=family tfamily%05d.h5 -REM call ..\deleteline tfamily.results 1 -REM cd ..\testfiles -REM call ..\deleteline tfamily.ddl 4 -REM cd ..\temptest\fctemp -REM fc tfamily.ddl tfamily.results >temp.txt -REM cd .. - -call ..\deleteline tmulti.results 1 -cd ..\testfiles -call ..\deleteline tmulti.ddl 4 -cd ..\temptest\fctemp -fc tmulti.ddl tmulti.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tmulti PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tmulti FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for files with group names which reach > 1024 bytes in size -call ..\deleteline tlarge_objname.results 1 -cd ..\testfiles -call ..\deleteline tlarge_objname.ddl 4 -cd ..\temptest\fctemp -fc tlarge_objname.ddl tlarge_objname.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -w157 tlarge_objname.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -w157 tlarge_objname.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test '-A' to suppress data but print attr's -call ..\deleteline tall-2A.results 1 -cd ..\testfiles -call ..\deleteline tall-2A.ddl 4 -cd ..\temptest\fctemp -fc tall-2A.ddl tall-2A.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -A tall.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -A tall.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test Subsetting -call ..\deleteline tall-4s.results 1 -cd ..\testfiles -call ..\deleteline tall-4s.ddl 4 -cd ..\temptest\fctemp -fc tall-4s.ddl tall-4s.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --dataset=/g1/g1.1/dset1.1.1 --start=1,1 --stride=2,3 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --dataset=/g1/g1.1/dset1.1.1 --start=1,1 --stride=2,3 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tall-5s.results 1 -cd ..\testfiles -call ..\deleteline tall-5s.ddl 4 -cd ..\temptest\fctemp -fc tall-5s.ddl tall-5s.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -d "/g1/g1.1/dset1.1.2[0;2;10;]" tall.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -d "/g1/g1.1/dset1.1.2[0;2;10;]" tall.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tdset-3s.results 1 -cd ..\testfiles -call ..\deleteline tdset-3s.ddl 4 -cd ..\temptest\fctemp -fc tdset-3s.ddl tdset-3s.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -d "/dset1[1,1;;;]" tdset.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -d "/dset1[1,1;;;]" tdset.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -call ..\deleteline tdset2-1s.results 1 -cd ..\testfiles -call ..\deleteline tdset2-1s.ddl 4 -cd ..\temptest\fctemp -fc tdset2-1s.ddl tdset2-1s.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -d "/dset1[;3,2;4,4;1,4]" tdset2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -d "/dset1[;3,2;4,4;1,4]" tdset2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test printing characters in ASCII instead of decimal -call ..\deleteline tchar1.results 1 -cd ..\testfiles -call ..\deleteline tchar1.ddl 4 -cd ..\temptest\fctemp -fc tchar1.ddl tchar1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -r tchar.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -r tchar.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test failure handling -REM Missing file name -call ..\deleteline tnofilename.results 0 -cd ..\testfiles -call ..\deleteline tnofilename.ddl 3 -cd ..\temptest\fctemp -fc tnofilename.ddl tnofilename.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM rev. 2004 - -REM tests for super block -REM TOOLTEST tboot1.ddl -H -B -d dset tfcontents1.h5 -call ..\deleteline tboot1.results 1 -cd ..\testfiles -call ..\deleteline tboot1.ddl 4 -cd ..\temptest\fctemp -fc tboot1.ddl tboot1.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -B -d dset tfcontents1.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -H -B -d dset tfcontents1.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tboot2.ddl -B tfcontents2.h5 -call ..\deleteline tboot2.results 1 -cd ..\testfiles -call ..\deleteline tboot2.ddl 4 -cd ..\temptest\fctemp -fc tboot2.ddl tboot2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -B tfcontents2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -B tfcontents2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test -p with a non existing dataset -REM TOOLTEST tperror.ddl -p -d bogus tfcontents1.h5 -call ..\deleteline tperror.results 1 -cd ..\testfiles -call ..\deleteline tperror.ddl 4 -cd ..\temptest\fctemp -fc tperror.ddl tperror.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -p -d bogus tfcontents1.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -p -d bogus tfcontents1.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for file contents -REM TOOLTEST tcontents.ddl -n tfcontents1.h5 -call ..\deleteline tcontents.results 1 -cd ..\testfiles -call ..\deleteline tcontents.ddl 4 -cd ..\temptest\fctemp -fc tcontents.ddl tcontents.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -n tfcontents1.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -n tfcontents1.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM tests for storage layout -REM compact -REM TOOLTEST tcompact.ddl -H -p -d compact tfilters.h5 -call ..\deleteline tcompact.results 1 -cd ..\testfiles -call ..\deleteline tcompact.ddl 4 -cd ..\temptest\fctemp -fc tcompact.ddl tcompact.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d compact tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -H -p -d compact tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM contiguous -REM TOOLTEST tcontiguos.ddl -H -p -d contiguous tfilters.h5 -call ..\deleteline tcontiguos.results 1 -cd ..\testfiles -call ..\deleteline tcontiguos.ddl 4 -cd ..\temptest\fctemp -fc tcontiguos.ddl tcontiguos.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d contiguous tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -H -p -d contiguous tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM chunked -REM TOOLTEST tchunked.ddl -H -p -d chunked tfilters.h5 -call ..\deleteline tchunked.results 1 -cd ..\testfiles -call ..\deleteline tchunked.ddl 4 -cd ..\temptest\fctemp -fc tchunked.ddl tchunked.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d chunked tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -H -p -d chunked tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM external -REM TOOLTEST texternal.ddl -H -p -d external tfilters.h5 -call ..\deleteline texternal.results 1 -cd ..\testfiles -call ..\deleteline texternal.ddl 4 -cd ..\temptest\fctemp -fc texternal.ddl texternal.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d external tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -H -p -d external tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM fill values -REM TOOLTEST tfill.ddl -p tfvalues.h5 -call ..\deleteline tfill.results 1 -cd ..\testfiles -call ..\deleteline tfill.ddl 4 -cd ..\temptest\fctemp -fc tfill.ddl tfill.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -p tfvalues.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -p tfvalues.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM several datatype, with references , print path -REM TOOLTEST treference.ddl tattr2.h5 -call ..\deleteline treference.results 1 -cd ..\testfiles -call ..\deleteline treference.ddl 4 -cd ..\temptest\fctemp -fc treference.ddl treference.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tattr2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tattr2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM escape/not escape non printable characters -REM TOOLTEST tstringe.ddl -e tstr3.h5 -call ..\deleteline tstringe.results 1 -cd ..\testfiles -call ..\deleteline tstringe.ddl 4 -cd ..\temptest\fctemp -fc tstringe.ddl tstringe.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -e tstr3.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -e tstr3.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tstring.ddl tstr3.h5 -call ..\deleteline tstring.results 1 -cd ..\testfiles -call ..\deleteline tstring.ddl 4 -cd ..\temptest\fctemp -fc tstring.ddl tstring.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tstr3.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tstr3.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM char data as ASCII with non escape -REM TOOLTEST tstring2.ddl -r -d str4 tstr3.h5 -call ..\deleteline tstring2.results 1 -cd ..\testfiles -call ..\deleteline tstring2.ddl 4 -cd ..\temptest\fctemp -fc tstring2.ddl tstring2.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -r -d str4 tstr3.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -r -d str4 tstr3.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM array indices print/not print -REM TOOLTEST tindicesyes.ddl taindices.h5 -call ..\deleteline tindicesyes.results 1 -cd ..\testfiles -call ..\deleteline tindicesyes.ddl 4 -cd ..\temptest\fctemp -fc tindicesyes.ddl tindicesyes.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump taindices.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump taindices.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tindicesno.ddl -y taindices.h5 -call ..\deleteline tindicesno.results 1 -cd ..\testfiles -call ..\deleteline tindicesno.ddl 4 -cd ..\temptest\fctemp -fc tindicesno.ddl tindicesno.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -y taindices.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -y taindices.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM tests for filters -REM SZIP -REM TOOLTEST tszip.ddl -H -p -d szip tfilters.h5 -if "%HDF5_EXT_SZIP%"=="" GOTO NEXTSTEP4 -if %HDF5_EXT_SZIP%==szlib.lib ( - call ..\deleteline tszip.results 1 - cd ..\testfiles - call ..\deleteline tszip.ddl 4 - cd ..\temptest\fctemp - fc tszip.ddl tszip.results >temp.txt - if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d szip tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt - ) else ( - echo Testing h5dump -H -p -d szip tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt - ) - del temp.txt - cd .. - GOTO NEXTSTEP5 -) else ( - echo Testing h5dump -H -p -d szip tfilters.h5 -SKIP- >> ..\..\dumptest%2_%1.txt - GOTO NEXTSTEP5 -) +set flag=--xml --use-dtd --xml-dtd="http://somewhere.net" %tempty% +call %tooltest% tempty-dtd-uri.h5.xml -:NEXTSTEP4 -echo Testing h5dump -H -p -d szip tfilters.h5 -SKIP- >> ..\dumptest%2_%1.txt - -:NEXTSTEP5 - - -REM deflate -REM TOOLTEST tdeflate.ddl -H -p -d deflate tfilters.h5 -if "%HDF5_EXT_ZLIB%"=="" GOTO NEXTSTEP6 -if %HDF5_EXT_ZLIB%==zlib.lib ( - call ..\deleteline tdeflate.results 1 - cd ..\testfiles - call ..\deleteline tdeflate.ddl 4 - cd ..\temptest\fctemp - fc tdeflate.ddl tdeflate.results >temp.txt - if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d deflate tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt - ) else ( - echo Testing h5dump -H -p -d deflate tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt - ) - del temp.txt - cd .. - GOTO NEXTSTEP7 -) else ( - echo Testing h5dump -H -p -d deflate tfilters.h5 -SKIP- >> ..\..\dumptest%2_%1.txt - GOTO NEXTSTEP7 -) +set flag=--xml -A %tall% +call %tooltest% tall-2A.h5.xml -:NEXTSTEP6 -echo Testing h5dump -H -p -d deflate tfilters.h5 -SKIP- >> ..\dumptest%2_%1.txt +::------------------ +::End of -xml Tests +::------------------ -:NEXTSTEP7 +cd ..\.. -REM shuffle -REM TOOLTEST tshuffle.ddl -H -p -d shuffle tfilters.h5 -call ..\deleteline tshuffle.results 1 -cd ..\testfiles -call ..\deleteline tshuffle.ddl 4 -cd ..\temptest\fctemp -fc tshuffle.ddl tshuffle.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d shuffle tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -H -p -d shuffle tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM fletcher32 -REM TOOLTEST tfletcher32.ddl -H -p -d fletcher32 tfilters.h5 -call ..\deleteline tfletcher32.results 1 -cd ..\testfiles -call ..\deleteline tfletcher32.ddl 4 -cd ..\temptest\fctemp -fc tfletcher32.ddl tfletcher32.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d fletcher32 tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -H -p -d fletcher32 tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM all -REM TOOLTEST tallfilters.ddl -H -p -d all tfilters.h5 -if "%HDF5_EXT_ZLIB%"=="" GOTO NEXTSTEP8 -if "%HDF5_EXT_SZIP%"=="" GOTO NEXTSTEP8 -if %HDF5_EXT_ZLIB%==zlib.lib ( - if %HDF5_EXT_SZIP%==szlib.lib ( - call ..\deleteline tallfilters.results 1 - cd ..\testfiles - call ..\deleteline tallfilters.ddl 4 - cd ..\temptest\fctemp - fc tallfilters.ddl tallfilters.results >temp.txt - if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d all tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt - ) else ( - echo Testing h5dump -H -p -d all tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt - ) - del temp.txt - cd .. - GOTO NEXTSTEP9 - ) else ( - echo Testing h5dump -H -p -d all tfilters.h5 -SKIP- >> ..\..\dumptest%2_%1.txt - GOTO NEXTSTEP9 - ) +echo. +if %totalerr%==0 ( +echo. All of the %exefile% %p1% Tests Passed! +echo. All of the %exefile% %p1% Tests Passed! >> %tempResults% ) else ( - echo Testing h5dump -H -p -d all tfilters.h5 -SKIP- >> ..\..\dumptest%2_%1.txt - GOTO NEXTSTEP9 +echo. %exefile% %p1% Tests Finished with %totalerr% Errors! +echo. %exefile% %p1% Tests Finished with %totalerr% Errors!>> %tempResults% ) - -:NEXTSTEP8 -echo Testing h5dump -H -p -d all tfilters.h5 -SKIP- >> ..\dumptest%2_%1.txt - -:NEXTSTEP9 - -REM user defined -REM TOOLTEST tuserfilter.ddl -H -p -d myfilter tfilters.h5 -call ..\deleteline tuserfilter.results 1 -cd ..\testfiles -call ..\deleteline tuserfilter.ddl 4 -cd ..\temptest\fctemp -fc tuserfilter.ddl tuserfilter.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump -H -p -d myfilter tfilters.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump -H -p -d myfilter tfilters.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test for displaying dataset and attribute of null space -REM TOOLTEST tnullspace.ddl tnullspace.h5 -call ..\deleteline tnullspace.results 1 -cd ..\testfiles -call ..\deleteline tnullspace.ddl 4 -cd ..\temptest\fctemp -fc tnullspace.ddl tnullspace.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump tnullspace.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump tnullspace.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM test XML -REM TOOLTEST tall.h5.xml --xml tall.h5 -call ..\deleteline tall.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tall.h5.xml 3 -cd ..\temptest\fctemp -fc tall.h5.xml tall.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tall.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tall.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tattr.h5.xml --xml tattr.h5 -call ..\deleteline tattr.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tattr.h5.xml 3 -cd ..\temptest\fctemp -fc tattr.h5.xml tattr.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tattr.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tattr.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tbitfields.h5.xml --xml tbitfields.h5 -call ..\deleteline tbitfields.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tbitfields.h5.xml 3 -cd ..\temptest\fctemp -fc tbitfields.h5.xml tbitfields.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tbitfields.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tbitfields.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tcompound.h5.xml --xml tcompound.h5 -call ..\deleteline tcompound.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tcompound.h5.xml 3 -cd ..\temptest\fctemp -fc tcompound.h5.xml tcompound.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tcompound.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tcompound.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tcompound2.h5.xml --xml tcompound2.h5 -call ..\deleteline tcompound2.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tcompound2.h5.xml 3 -cd ..\temptest\fctemp -fc tcompound2.h5.xml tcompound2.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tcompound2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tcompound2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tdatareg.h5.xml --xml tdatareg.h5 -call ..\deleteline tdatareg.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tdatareg.h5.xml 3 -cd ..\temptest\fctemp -fc tdatareg.h5.xml tdatareg.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tdatareg.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tdatareg.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tdset.h5.xml --xml tdset.h5 -call ..\deleteline tdset.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tdset.h5.xml 3 -cd ..\temptest\fctemp -fc tdset.h5.xml tdset.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tdset.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tdset.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tdset2.h5.xml --xml tdset2.h5 -call ..\deleteline tdset2.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tdset2.h5.xml 3 -cd ..\temptest\fctemp -fc tdset2.h5.xml tdset2.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tdset2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tdset2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tenum.h5.xml --xml tenum.h5 -call ..\deleteline tenum.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tenum.h5.xml 3 -cd ..\temptest\fctemp -fc tenum.h5.xml tenum.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tenum.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tenum.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tgroup.h5.xml --xml tgroup.h5 -call ..\deleteline tgroup.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tgroup.h5.xml 3 -cd ..\temptest\fctemp -fc tgroup.h5.xml tgroup.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tgroup.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tgroup.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST thlink.h5.xml --xml thlink.h5 -REM call ..\deleteline thlink.h5.xml.results 0 -REM cd ..\testfiles -REM call ..\deleteline thlink.h5.xml 3 -REM cd ..\temptest\fctemp -REM fc thlink.h5.xml thlink.h5.xml.results >temp.txt -REM if %ERRORLEVEL%==0 ( -REM echo Testing h5dump --xml thlink.h5 PASSED >> ..\..\dumptest%2_%1.txt -REM ) else ( -REM echo Testing h5dump --xml thlink.h5 FAILED >> ..\..\dumptest%2_%1.txt -REM more temp.txt >> ..\..\dumptest%2_%1.txt -REM ) -REM del temp.txt -REM cd .. -REM TOOLTEST tloop.h5.xml --xml tloop.h5 -call ..\deleteline tloop.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tloop.h5.xml 3 -cd ..\temptest\fctemp -fc tloop.h5.xml tloop.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tloop.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tloop.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tloop2.h5.xml --xml tloop2.h5 -call ..\deleteline tloop2.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tloop2.h5.xml 3 -cd ..\temptest\fctemp -fc tloop2.h5.xml tloop2.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tloop2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tloop2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tmany.h5.xml --xml tmany.h5 -REM call ..\deleteline tmany.h5.xml.results 0 -REM cd ..\testfiles -REM call ..\deleteline tmany.h5.xml 3 -REM cd ..\temptest\fctemp -REM fc tmany.h5.xml tmany.h5.xml.results >temp.txt -REM if %ERRORLEVEL%==0 ( -REM echo Testing h5dump --xml tmany.h5 PASSED >> ..\..\dumptest%2_%1.txt -REM ) else ( -REM echo Testing h5dump --xml tmany.h5 FAILED >> ..\..\dumptest%2_%1.txt -REM more temp.txt >> ..\..\dumptest%2_%1.txt -REM ) -REM del temp.txt -REM cd .. -REM TOOLTEST tnestedcomp.h5.xml --xml tnestedcomp.h5 -call ..\deleteline tnestedcomp.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tnestedcomp.h5.xml 3 -cd ..\temptest\fctemp -fc tnestedcomp.h5.xml tnestedcomp.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tnestedcomp.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tnestedcomp.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tcompound_complex.h5.xml --xml tcompound_complex.h5 -call ..\deleteline tcompound_complex.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tcompound_complex.h5.xml 3 -cd ..\temptest\fctemp -fc tcompound_complex.h5.xml tcompound_complex.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tcompound_complex.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tcompound_complex.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tobjref.h5.xml --xml tobjref.h5 -call ..\deleteline tobjref.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tobjref.h5.xml 3 -cd ..\temptest\fctemp -fc tobjref.h5.xml tobjref.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tobjref.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tobjref.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST topaque.h5.xml --xml topaque.h5 -call ..\deleteline topaque.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline topaque.h5.xml 3 -cd ..\temptest\fctemp -fc topaque.h5.xml topaque.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml topaque.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml topaque.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tslink.h5.xml --xml tslink.h5 -call ..\deleteline tslink.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tslink.h5.xml 3 -cd ..\temptest\fctemp -fc tslink.h5.xml tslink.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tslink.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tslink.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tstr.h5.xml --xml tstr.h5 -call ..\deleteline tstr.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tstr.h5.xml 3 -cd ..\temptest\fctemp -fc tstr.h5.xml tstr.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tstr.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tstr.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tstr2.h5.xml --xml tstr2.h5 -call ..\deleteline tstr2.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tstr2.h5.xml 3 -cd ..\temptest\fctemp -fc tstr2.h5.xml tstr2.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tstr2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tstr2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tref.h5.xml --xml tref.h5 -call ..\deleteline tref.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tref.h5.xml 3 -cd ..\temptest\fctemp -fc tref.h5.xml tref.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tref.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tref.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tname-amp.h5.xml --xml tname-amp.h5 -call ..\deleteline tname-amp.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tname-amp.h5.xml 3 -cd ..\temptest\fctemp -fc tname-amp.h5.xml tname-amp.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tname-amp.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tname-amp.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tname-apos.h5.xml --xml tname-apos.h5 -call ..\deleteline tname-apos.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tname-apos.h5.xml 3 -cd ..\temptest\fctemp -fc tname-apos.h5.xml tname-apos.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tname-apos.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tname-apos.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tname-gt.h5.xml --xml tname-gt.h5 -call ..\deleteline tname-gt.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tname-gt.h5.xml 3 -cd ..\temptest\fctemp -fc tname-gt.h5.xml tname-gt.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tname-gt.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tname-gt.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tname-lt.h5.xml --xml tname-lt.h5 -call ..\deleteline tname-lt.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tname-lt.h5.xml 3 -cd ..\temptest\fctemp -fc tname-lt.h5.xml tname-lt.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tname-lt.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tname-lt.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tname-quot.h5.xml --xml tname-quot.h5 -call ..\deleteline tname-quot.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tname-quot.h5.xml 3 -cd ..\temptest\fctemp -fc tname-quot.h5.xml tname-quot.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tname-quot.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tname-quot.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tname-sp.h5.xml --xml tname-sp.h5 -call ..\deleteline tname-sp.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tname-sp.h5.xml 3 -cd ..\temptest\fctemp -fc tname-sp.h5.xml tname-sp.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tname-sp.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tname-sp.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tstring.h5.xml --xml tstring.h5 -call ..\deleteline tstring.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tstring.h5.xml 3 -cd ..\temptest\fctemp -fc tstring.h5.xml tstring.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tstring.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tstring.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tstring-at.h5.xml --xml tstring-at.h5 -call ..\deleteline tstring-at.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tstring-at.h5.xml 3 -cd ..\temptest\fctemp -fc tstring-at.h5.xml tstring-at.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tstring-at.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tstring-at.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tref-escapes.h5.xml --xml tref-escapes.h5 -call ..\deleteline tref-escapes.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tref-escapes.h5.xml 3 -cd ..\temptest\fctemp -fc tref-escapes.h5.xml tref-escapes.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tref-escapes.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tref-escapes.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tref-escapes-at.h5.xml --xml tref-escapes-at.h5 -call ..\deleteline tref-escapes-at.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tref-escapes-at.h5.xml 3 -cd ..\temptest\fctemp -fc tref-escapes-at.h5.xml tref-escapes-at.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tref-escapes-at.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tref-escapes-at.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tnodata.h5.xml --xml tnodata.h5 -call ..\deleteline tnodata.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tnodata.h5.xml 3 -cd ..\temptest\fctemp -fc tnodata.h5.xml tnodata.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tnodata.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tnodata.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tarray1.h5.xml --xml tarray1.h5 -call ..\deleteline tarray1.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tarray1.h5.xml 3 -cd ..\temptest\fctemp -fc tarray1.h5.xml tarray1.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tarray1.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tarray1.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tarray2.h5.xml --xml tarray2.h5 -call ..\deleteline tarray2.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tarray2.h5.xml 3 -cd ..\temptest\fctemp -fc tarray2.h5.xml tarray2.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tarray2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tarray2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tarray3.h5.xml --xml tarray3.h5 -call ..\deleteline tarray3.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tarray3.h5.xml 3 -cd ..\temptest\fctemp -fc tarray3.h5.xml tarray3.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tarray3.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tarray3.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tarray6.h5.xml --xml tarray6.h5 -call ..\deleteline tarray6.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tarray6.h5.xml 3 -cd ..\temptest\fctemp -fc tarray6.h5.xml tarray6.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tarray6.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tarray6.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tarray7.h5.xml --xml tarray7.h5 -call ..\deleteline tarray7.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tarray7.h5.xml 3 -cd ..\temptest\fctemp -fc tarray7.h5.xml tarray7.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tarray7.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tarray7.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tvldtypes1.h5.xml --xml tvldtypes1.h5 -call ..\deleteline tvldtypes1.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tvldtypes1.h5.xml 3 -cd ..\temptest\fctemp -fc tvldtypes1.h5.xml tvldtypes1.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tvldtypes1.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tvldtypes1.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tvldtypes2.h5.xml --xml tvldtypes2.h5 -call ..\deleteline tvldtypes2.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tvldtypes2.h5.xml 3 -cd ..\temptest\fctemp -fc tvldtypes2.h5.xml tvldtypes2.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tvldtypes2.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tvldtypes2.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tvldtypes3.h5.xml --xml tvldtypes3.h5 -call ..\deleteline tvldtypes3.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tvldtypes3.h5.xml 3 -cd ..\temptest\fctemp -fc tvldtypes3.h5.xml tvldtypes3.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tvldtypes3.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tvldtypes3.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tvldtypes4.h5.xml --xml tvldtypes4.h5 -call ..\deleteline tvldtypes4.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tvldtypes4.h5.xml 3 -cd ..\temptest\fctemp -fc tvldtypes4.h5.xml tvldtypes4.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tvldtypes4.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tvldtypes4.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tvldtypes5.h5.xml --xml tvldtypes5.h5 -call ..\deleteline tvldtypes5.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tvldtypes5.h5.xml 3 -cd ..\temptest\fctemp -fc tvldtypes5.h5.xml tvldtypes5.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tvldtypes5.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tvldtypes5.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tvlstr.h5.xml --xml tvlstr.h5 -call ..\deleteline tvlstr.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tvlstr.h5.xml 3 -cd ..\temptest\fctemp -fc tvlstr.h5.xml tvlstr.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tvlstr.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tvlstr.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tsaf.h5.xml --xml tsaf.h5 -call ..\deleteline tsaf.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tsaf.h5.xml 3 -cd ..\temptest\fctemp -fc tsaf.h5.xml tsaf.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tsaf.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tsaf.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tempty.h5.xml --xml tempty.h5 -call ..\deleteline tempty.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tempty.h5.xml 3 -cd ..\temptest\fctemp -fc tempty.h5.xml tempty.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tempty.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tempty.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tnamed_dtype_attr.h5.xml --xml tnamed_dtype_attr.h5 -call ..\deleteline tnamed_dtype_attr.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tnamed_dtype_attr.h5.xml 3 -cd ..\temptest\fctemp -fc tnamed_dtype_attr.h5.xml tnamed_dtype_attr.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml tnamed_dtype_attr.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml tnamed_dtype_attr.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM other options for xml - -REM TOOLTEST tempty-dtd.h5.xml --xml --use-dtd tempty.h5 -call ..\deleteline tempty-dtd.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tempty-dtd.h5.xml 3 -cd ..\temptest\fctemp -fc tempty-dtd.h5.xml tempty-dtd.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml --use-dtd tempty.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml --use-dtd tempty.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tempty-dtd-2.h5.xml --xml -u tempty.h5 -call ..\deleteline tempty-dtd-2.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tempty-dtd-2.h5.xml 3 -cd ..\temptest\fctemp -fc tempty-dtd-2.h5.xml tempty-dtd-2.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml -u tempty.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml -u tempty.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tempty-nons.h5.xml --xml -X ":" tempty.h5 -call ..\deleteline tempty-nons.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tempty-nons.h5.xml 3 -cd ..\temptest\fctemp -fc tempty-nons.h5.xml tempty-nons.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml -X ":" tempty.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml -X ":" tempty.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tempty-nons-2.h5.xml --xml --xml-ns=":" tempty.h5 -call ..\deleteline tempty-nons-2.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tempty-nons-2.h5.xml 3 -cd ..\temptest\fctemp -fc tempty-nons-2.h5.xml tempty-nons-2.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml --xml-ns=":" tempty.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml --xml-ns=":" tempty.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM Some of these combinations are syntactically correct but -REM the URLs are dummies -REM TOOLTEST tempty-ns.h5.xml --xml -X "thing:" tempty.h5 -call ..\deleteline tempty-ns.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tempty-ns.h5.xml 3 -cd ..\temptest\fctemp -fc tempty-ns.h5.xml tempty-ns.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml -X "thing:" tempty.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml -X "thing:" tempty.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tempty-ns-2.h5.xml --xml --xml-ns="thing:" tempty.h5 -call ..\deleteline tempty-ns-2.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tempty-ns-2.h5.xml 3 -cd ..\temptest\fctemp -fc tempty-ns-2.h5.xml tempty-ns-2.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml --xml-ns="thing:" tempty.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml --xml-ns="thing:" tempty.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tempty-nons-uri.h5.xml --xml --xml-ns=":" --xml-dtd="http://somewhere.net" tempty.h5 -call ..\deleteline tempty-nons-uri.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tempty-nons-uri.h5.xml 3 -cd ..\temptest\fctemp -fc tempty-nons-uri.h5.xml tempty-nons-uri.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml-dtd="http://somewhere.net" tempty.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml-dtd="http://somewhere.net" tempty.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. -REM TOOLTEST tempty-dtd-uri.h5.xml --xml --use-dtd --xml-dtd="http://somewhere.net" tempty.h5 -call ..\deleteline tempty-dtd-uri.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tempty-dtd-uri.h5.xml 3 -cd ..\temptest\fctemp -fc tempty-dtd-uri.h5.xml tempty-dtd-uri.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml --use-dtd --xml-dtd="http://somewhere.net" temp PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml --use-dtd --xml-dtd="http://somewhere.net" temp FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt -) -del temp.txt -cd .. - -REM TOOLTEST tall-2A.h5.xml --xml -A tall.h5 -call ..\deleteline tall-2A.h5.xml.results 0 -cd ..\testfiles -call ..\deleteline tall-2A.h5.xml 3 -cd ..\temptest\fctemp -fc tall-2A.h5.xml tall-2A.h5.xml.results >temp.txt -if %ERRORLEVEL%==0 ( - echo Testing h5dump --xml -A tall.h5 PASSED >> ..\..\dumptest%2_%1.txt -) else ( - echo Testing h5dump --xml -A tall.h5 FAILED >> ..\..\dumptest%2_%1.txt - more temp.txt >> ..\..\dumptest%2_%1.txt +if not %totalskip%==0 ( +echo. %totalskip% Tests in total Skiped! >> %tempResults% +echo. %totalskip% Tests in total Skiped! +echo. +find "SKIPED" %tempResults% | more +2 ) -del temp.txt -cd .. -cd .. +rmdir /s/q temptest -rmdir /s/q temptest
\ No newline at end of file +for %%i in (testfiles\t*.h5) do set %%~ni= +set test_szip= +set output_szip= +for %%v in (p1 p2 tempResults exefile tooltest ln ln_exp tsplit_file tmulti tfamily05d totalskip) do set %%v= +for %%i in (tsplit_file tmulti) do set %%i= +set tfamily05d= |