From 9e29a742a931e67ed92038e0250af66bbff07ff7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 25 Oct 2006 10:58:30 -0400 Subject: BUG: EQUAL -> STREQUAL for string comparison. --- Tests/MacroTest/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/MacroTest/CMakeLists.txt b/Tests/MacroTest/CMakeLists.txt index d4642a7..d65f4cf 100644 --- a/Tests/MacroTest/CMakeLists.txt +++ b/Tests/MacroTest/CMakeLists.txt @@ -37,11 +37,11 @@ MACRO(strange_macro m) ENDMACRO(strange_macro m) STRANGE_MACRO(var) set(second_var "second_var") -IF("${var}" EQUAL "strange_macro" AND "${second_var}" EQUAL "second_var") +IF("${var}" STREQUAL "strange_macro" AND "${second_var}" STREQUAL "second_var") PASS("Case Test" "(${var} ${second_var})") -ELSE("${var}" EQUAL "strange_macro" AND "${second_var}" EQUAL "second_var") +ELSE("${var}" STREQUAL "strange_macro" AND "${second_var}" STREQUAL "second_var") FAILED("Case test" "(${var} ${second_var})") -ENDIF("${var}" EQUAL "strange_macro" AND "${second_var}" EQUAL "second_var") +ENDIF("${var}" STREQUAL "strange_macro" AND "${second_var}" STREQUAL "second_var") # test backing up command MACRO(ADD_EXECUTABLE exec) -- cgit v0.12