CTestCustom.cmake.in 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #----------------------------------------------------------------------
  2. #
  3. # For further details regarding this file,
  4. # see http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
  5. #
  6. # and
  7. # http://www.kitware.com/blog/home/post/27
  8. #
  9. #----------------------------------------------------------------------
  10. set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000)
  11. set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
  12. set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 2000)
  13. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  14. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  15. # Exclude files from the Testing directories
  16. ".*/tests/.*"
  17. # Exclude files from the ThirdParty Utilities directories
  18. ".*/thirdparty/.*"
  19. )
  20. set(CTEST_CUSTOM_WARNING_EXCEPTION
  21. ${CTEST_CUSTOM_WARNING_EXCEPTION}
  22. # Ignore clang's summary warning, assuming prior text has matched some
  23. # other warning expression:
  24. "[0-9,]+ warnings? generated."
  25. # Suppress warning caused by intentional messages about deprecation
  26. ".*warning,.* is deprecated"
  27. # java also warns about deprecated API
  28. ".*java.*deprecation"
  29. ".*deprecation.*"
  30. # suppress warnings caused by 3rd party libs:
  31. ".*thirdparty.*"
  32. "libtiff.*has no symbols"
  33. "libpng.*has no symbols"
  34. )