[cmake-commits] king committed CMakeLists.txt 1.65 1.66

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Oct 30 10:39:01 EST 2006


Update of /cvsroot/CMake/CMake/Tests/Complex
In directory public:/mounts/ram/cvs-serv683

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Added test case for bug#3966.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Complex/CMakeLists.txt,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- CMakeLists.txt	19 Oct 2006 18:45:40 -0000	1.65
+++ CMakeLists.txt	30 Oct 2006 15:38:55 -0000	1.66
@@ -53,6 +53,17 @@
 
 TEST_VAR_ARG(1 2 3)
 
+# Floating-point comparison test.
+IF(2.4 LESS 2.4)
+  MESSAGE(FATAL_ERROR "Failed: 2.4 LESS 2.4")
+ENDIF(2.4 LESS 2.4)
+IF(2.4 GREATER 2.4)
+  MESSAGE(FATAL_ERROR "Failed: 2.4 GREATER 2.4")
+ENDIF(2.4 GREATER 2.4)
+IF(NOT 2.4 EQUAL 2.4)
+  MESSAGE(FATAL_ERROR "Failed: NOT 2.4 EQUAL 2.4")
+ENDIF(NOT 2.4 EQUAL 2.4)
+
 #
 # Use the ansi CXX compile flag for building cmake
 #



More information about the Cmake-commits mailing list