summaryrefslogtreecommitdiffstats
path: root/tools/h5ls
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-06-23 20:56:24 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-06-23 20:56:24 (GMT)
commit0e907c2d10514a88d3e807237085a3f0bcd68f46 (patch)
treec081691323b94366b2fb89c39ecffed6ac3fbef5 /tools/h5ls
parent4df63636e3f25047798030545ab65fa0f91e81be (diff)
downloadhdf5-0e907c2d10514a88d3e807237085a3f0bcd68f46.zip
hdf5-0e907c2d10514a88d3e807237085a3f0bcd68f46.tar.gz
hdf5-0e907c2d10514a88d3e807237085a3f0bcd68f46.tar.bz2
[svn-r21026] Add configure check for endianess and adjust test depending on status of check
Tested: heiwa
Diffstat (limited to 'tools/h5ls')
-rw-r--r--tools/h5ls/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5ls/CMakeLists.txt b/tools/h5ls/CMakeLists.txt
index ec137f0..2cd11cd 100644
--- a/tools/h5ls/CMakeLists.txt
+++ b/tools/h5ls/CMakeLists.txt
@@ -397,15 +397,15 @@ IF (BUILD_TESTING)
# test for non-existing file
ADD_H5_TEST (nosuchfile 1 nosuchfile.h5)
- IF (WORDS_BIGENDIAN)
+ IF (H5_WORDS_BIGENDIAN)
# test for variable length data types in verbose mode
ADD_H5_TEST (tvldtypes2be 0 -v tvldtypes1.h5)
# test for dataset region references data types in verbose mode
ADD_H5_TEST (tdataregbe 0 -v tdatareg.h5)
- ELSE (WORDS_BIGENDIAN)
+ ELSE (H5_WORDS_BIGENDIAN)
ADD_H5_TEST (tvldtypes2le 0 -v tvldtypes1.h5)
ADD_H5_TEST (tdataregle 0 -v tdatareg.h5)
- ENDIF (WORDS_BIGENDIAN)
+ ENDIF (H5_WORDS_BIGENDIAN)
ENDIF (BUILD_TESTING)