remove deprecated v1 style function j2k_add_mhmarker; rename j2k_add_mhmarker_v2...
[openjpeg.git] / CMake / CTestCustom.cmake.in
index 60e6352832572f2e3623ac9ebaac04ac05947ec6..487f8b99523ff7c1a75028f419b73395756fecd7 100644 (file)
@@ -1,3 +1,5 @@
+#----------------------------------------------------------------------
+#
 # For further details regarding this file,
 # see http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
 #
@@ -11,29 +13,22 @@ SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS   50)
 SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 2000)
 
 SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
- ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
+  ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
+
+  # Exclude files from the Testing directories
+  ".*/tests/.*"
 
- # Exclude files from the Testing directories
- ".*/tests/.*"
   # Exclude files from the ThirdParty Utilities directories
- ".*/thirdparty/.*"
- )
 ".*/thirdparty/.*"
 )
 
 SET(CTEST_CUSTOM_WARNING_EXCEPTION
   ${CTEST_CUSTOM_WARNING_EXCEPTION}
-  
+
   # Suppress warning caused by intentional messages about deprecation
   ".*warning,.* is deprecated"
-)
-
-
-# Custom mechanism to catch cppcheck reports:
-#set(CTEST_CUSTOM_ERROR_MATCH
-# "error"
-#)
-
-# don't ask
-SET(CTEST_CUSTOM_WARNING_MATCH
- "error"
-)
+  # supress warnings caused by 3rd party libs:
+  ".*/thirdparty/.*"
+  "libtiff.*has no symbols"
+  "libpng.*has no symbols"
+  )