From b1e0d47edc106af8f1f0b9290785ced77c0ed1d0 Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Sun, 10 Jul 2016 14:37:43 -0500 Subject: STYLE: Convert CMake-language commands to lower case Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: NOTE: MUST USE GNU compliant version of sed cmake --help-command-list \ | grep -v "cmake version" \ | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \ | xargs -0 gsed -i -f convert.sed \ && rm convert.sed --- CTestCustom.cmake.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'CTestCustom.cmake.in') diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index c10cd32f..19469afe 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -3,13 +3,13 @@ # see http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest # -SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 0) -SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 0) -SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 500) -SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 500) +set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 0) +set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 0) +set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 500) +set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 500) # Files to explicitly exclude from code coverage -SET(CTEST_CUSTOM_COVERAGE_EXCLUDE +set(CTEST_CUSTOM_COVERAGE_EXCLUDE ${CTEST_CUSTOM_COVERAGE_EXCLUDE} # Exclude the internal BLAS libraries @@ -20,7 +20,7 @@ SET(CTEST_CUSTOM_COVERAGE_EXCLUDE ) # Warnings to explicitly ignore -SET(CTEST_CUSTOM_WARNING_EXCEPTION +set(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION} # Common warning when linking ATLAS built with GNU Fortran 4.1 and building @@ -43,4 +43,4 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION "Character string truncated to length 1 on assignment" ) -SET(CTEST_CUSTOM_POST_TEST "./lapack_testing.py -s -d TESTING") \ No newline at end of file +set(CTEST_CUSTOM_POST_TEST "./lapack_testing.py -s -d TESTING") \ No newline at end of file -- cgit v1.2.3