summaryrefslogtreecommitdiffstats
path: root/hl/test/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-04-02 18:35:01 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-04-02 18:35:01 (GMT)
commit98bbf4a36a2410fe0862c739370365a160053f17 (patch)
treec07dd05d13fe3729d677ffe82be9d2a662035467 /hl/test/CMakeTests.cmake
parent5555f057ae4203b469cc22c6fc9bf886ff809343 (diff)
downloadhdf5-98bbf4a36a2410fe0862c739370365a160053f17.zip
hdf5-98bbf4a36a2410fe0862c739370365a160053f17.tar.gz
hdf5-98bbf4a36a2410fe0862c739370365a160053f17.tar.bz2
[svn-r24948] Group tests by Common name
Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32 Tested: local linux CMake
Diffstat (limited to 'hl/test/CMakeTests.cmake')
-rw-r--r--hl/test/CMakeTests.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/hl/test/CMakeTests.cmake b/hl/test/CMakeTests.cmake
index fda388a..7d632cc 100644
--- a/hl/test/CMakeTests.cmake
+++ b/hl/test/CMakeTests.cmake
@@ -9,9 +9,9 @@
# Macro used to add a unit test
# --------------------------------------------------------------------
MACRO (HL_ADD_TEST hl_name files)
- add_test (NAME hl_${hl_name} COMMAND $<TARGET_FILE:hl_${hl_name}>)
+ add_test (NAME HL_${hl_name} COMMAND $<TARGET_FILE:hl_${hl_name}>)
if (NOT "${last_test}" STREQUAL "")
- set_tests_properties (hl_${hl_name} PROPERTIES DEPENDS ${last_test})
+ set_tests_properties (HL_${hl_name} PROPERTIES DEPENDS ${last_test})
endif (NOT "${last_test}" STREQUAL "")
# --------------------------------------------------------------------
@@ -32,7 +32,7 @@ ENDMACRO (HL_ADD_TEST)
# Remove any output file left over from previous test run
add_test (
- NAME hl_test-clear-objects
+ NAME HL_test-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
combine_tables1.h5
@@ -61,9 +61,9 @@ add_test (
test_table.h5
)
if (NOT "${last_test}" STREQUAL "")
- set_tests_properties (hl_test-clear-objects PROPERTIES DEPENDS ${last_test})
+ set_tests_properties (HL_test-clear-objects PROPERTIES DEPENDS ${last_test})
endif (NOT "${last_test}" STREQUAL "")
-set (last_test "hl_test-clear-objects")
+set (last_test "HL_test-clear-objects")
HL_add_test (test_ds "dsdata.txt;dslat.txt;dslon.txt;test_ds_be.h5;test_ds_le.h5")
HL_add_test (test_dset_opt "")