summaryrefslogtreecommitdiffstats
path: root/vms
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2006-03-09 21:38:40 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2006-03-09 21:38:40 (GMT)
commit6c874c75b9f25ab606b2f3c45e9c3b85177455ec (patch)
tree44bdacd044a18691ee7a794fc70ab009057c34e0 /vms
parent148c103a43925f637727cb41a251843100b62f87 (diff)
downloadhdf5-6c874c75b9f25ab606b2f3c45e9c3b85177455ec.zip
hdf5-6c874c75b9f25ab606b2f3c45e9c3b85177455ec.tar.gz
hdf5-6c874c75b9f25ab606b2f3c45e9c3b85177455ec.tar.bz2
[svn-r12070] Purpose: VMS port
Description: added command file to build h5ls Solution: Platforms tested: VMS server Misc. update:
Diffstat (limited to 'vms')
-rw-r--r--vms/tools/h5ls/check.com69
-rw-r--r--vms/tools/h5ls/make.com36
2 files changed, 105 insertions, 0 deletions
diff --git a/vms/tools/h5ls/check.com b/vms/tools/h5ls/check.com
new file mode 100644
index 0000000..a0cd048
--- /dev/null
+++ b/vms/tools/h5ls/check.com
@@ -0,0 +1,69 @@
+$!#
+$!# 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 hdfhelp@ncsa.uiuc.edu.
+$!#
+$!
+$! h5ls testing script
+$!
+$ define sys$output h5ls.out
+$ define sys$error h5ls.err
+$ h5ls :== $sys$sysusers:[pourmale.hdf5.tools.h5ls]h5ls.exe
+
+$ h5ls -w80 -h
+$ h5ls -w80 -help
+$ h5ls -w80 -?
+
+$! test simple command
+$ h5ls -w80 tall.h5
+$ h5ls -w80 -r -d tall.h5
+$ h5ls -w80 tgroup.h5
+
+$! test for displaying groups
+$ h5ls -w80 -r -g tgroup.h5
+
+$! test for displaying simple space datasets
+$ h5ls -w80 -r -d tdset.h5
+
+$! test for displaying soft links
+$ h5ls -w80 -r tslink.h5
+
+$! tests for hard links
+$ h5ls -w80 thlink.h5
+
+$! tests for compound data types
+$ h5ls -w80 -r -d tcompound.h5
+
+$!test for the nested compound type
+$ h5ls -w80 -r -d tnestedcomp.h5
+
+$! test for loop detection
+$ h5ls -w80 -r -d tloop.h5
+
+$! test for string
+$ h5ls -w80 -r -d tstr.h5
+
+$! test test file created from lib SAF team
+$ h5ls -w80 -r -d tsaf.h5
+
+$! test for variable length data types
+$ h5ls -w80 -r -d tvldtypes1.h5
+
+$! test for array data types
+$ h5ls -w80 -r -d tarray1.h5
+
+$! test for empty data
+$ h5ls -w80 -d tempty.h5
+
+$! test for all dataset types written to attributes
+$! enable -S for avoiding printing NATIVE types
+$ h5ls -w80 -v -S tattr2.h5
+
diff --git a/vms/tools/h5ls/make.com b/vms/tools/h5ls/make.com
new file mode 100644
index 0000000..19eb6be
--- /dev/null
+++ b/vms/tools/h5ls/make.com
@@ -0,0 +1,36 @@
+$!#
+$!# 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 hdfhelp@ncsa.uiuc.edu.
+$!#
+$! Makefile for VMS systems.
+$!
+$! Make h5ls tool
+$!
+$ ccopt = "/float=ieee_float"
+$
+$ ccc := cc 'ccopt /debug/define=H5_VMS/include=([-.-.src], [-.lib])
+$ type sys$input
+ Creating h5ls
+$!
+$ cobj= "h5ls.c "
+
+$!
+$ ccc 'cobj
+$
+$ type sys$input
+ Creating h5ls
+$ link h5ls, -
+ [-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib
+! sys$clib/lib
+$ type sys$input
+ Created h5ls
+$!