summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-06-29 19:29:58 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-06-29 19:29:58 (GMT)
commitb546a94b83b014f39cbd33ee2a8db5532c81bcc7 (patch)
tree02af92d54ded03332a33bd6686b41722cb9f8606 /tools
parentce70d7a018c539f807d46d4d574aca26257d7cc1 (diff)
downloadhdf5-b546a94b83b014f39cbd33ee2a8db5532c81bcc7.zip
hdf5-b546a94b83b014f39cbd33ee2a8db5532c81bcc7.tar.gz
hdf5-b546a94b83b014f39cbd33ee2a8db5532c81bcc7.tar.bz2
[svn-r21048] Add configure check for endianess and adjust test depending on status of check.
Bring r21026 from trunk
Diffstat (limited to 'tools')
-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 ff1e3c4..398d027 100644
--- a/tools/h5ls/CMakeLists.txt
+++ b/tools/h5ls/CMakeLists.txt
@@ -389,15 +389,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)