diff options
author | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-10 14:37:43 -0500 |
---|---|---|
committer | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-10 14:37:46 -0500 |
commit | b1e0d47edc106af8f1f0b9290785ced77c0ed1d0 (patch) | |
tree | 829ca2c166916828b6d64a98cb1da749d41a2702 /CTestCustom.cmake.in | |
parent | 28f0a3f1e1dffc1b3c5bc07ccff5b42dd81bb808 (diff) | |
download | lapack-b1e0d47edc106af8f1f0b9290785ced77c0ed1d0.tar.gz lapack-b1e0d47edc106af8f1f0b9290785ced77c0ed1d0.tar.bz2 lapack-b1e0d47edc106af8f1f0b9290785ced77c0ed1d0.zip |
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
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r-- | CTestCustom.cmake.in | 14 |
1 files changed, 7 insertions, 7 deletions
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 |