summaryrefslogtreecommitdiff
path: root/Tests/CMakeTests/ListTest.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeTests/ListTest.cmake.in')
-rw-r--r--Tests/CMakeTests/ListTest.cmake.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/CMakeTests/ListTest.cmake.in b/Tests/CMakeTests/ListTest.cmake.in
index 5db171c3ad..07fc7c6d0b 100644
--- a/Tests/CMakeTests/ListTest.cmake.in
+++ b/Tests/CMakeTests/ListTest.cmake.in
@@ -1,10 +1,10 @@
macro(TEST command expected)
if("x${result}" STREQUAL "x${expected}")
#message("TEST \"${command}\" success: \"${result}\" expected: \"${expected}\"")
- else("x${result}" STREQUAL "x${expected}")
+ else()
message(SEND_ERROR "${CMAKE_CURRENT_LIST_LINE}: TEST \"${command}\" failed: \"${result}\" expected: \"${expected}\"")
- endif("x${result}" STREQUAL "x${expected}")
-endmacro(TEST command expected)
+ endif()
+endmacro()
set(mylist andy bill ken brad)