|
12 | 12 | # Optional environmental variables
|
13 | 13 | # - DESTDIR <- used for setting the install prefix
|
14 | 14 | # - BUILD_TOOL=["Unix Makefile"|"Ninja"]
|
15 |
| -# - BUILDNAME <-- how to identify this build on the dashboard |
| 15 | +# - BUILDNAME <- how to identify this build on the dashboard |
16 | 16 | # - DO_MemCheck <- if set, try to use valgrind
|
17 |
| -# - DO_Coverage <- if set, try to do dashboard coverage testing |
18 |
| -# |
| 17 | +# - DO_Coverage <- if set, try to do dashboard coverage testing |
| 18 | +# |
19 | 19 |
|
20 | 20 | env_set=1
|
21 | 21 | if ${BUILD_TYPE+false}; then
|
@@ -78,7 +78,7 @@ if ! ${DO_MemCheck+false}; then
|
78 | 78 | valgrind --version
|
79 | 79 | CTEST_TESTING_OPTION="-D ExperimentalMemCheck"
|
80 | 80 | else
|
81 |
| -# - DO_Coverage <- if set, try to do dashboard coverage testing |
| 81 | +# - DO_Coverage <- if set, try to do dashboard coverage testing |
82 | 82 | if ! ${DO_Coverage+false}; then
|
83 | 83 | export CXXFLAGS="-fprofile-arcs -ftest-coverage"
|
84 | 84 | export LDFLAGS="-fprofile-arcs -ftest-coverage"
|
@@ -117,14 +117,14 @@ cd "${_BUILD_DIR_NAME}"
|
117 | 117 | ctest -C ${BUILD_TYPE} -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild ${CTEST_TESTING_OPTION} -D ExperimentalSubmit
|
118 | 118 | # Final step is to verify that installation succeeds
|
119 | 119 | cmake --build . --config ${BUILD_TYPE} --target install
|
120 |
| - |
| 120 | + |
121 | 121 | if [ "${DESTDIR}" != "/usr/local" ]; then
|
122 | 122 | ${_BUILD_EXE} install
|
123 | 123 | fi
|
124 | 124 | cd -
|
125 | 125 |
|
126 | 126 | if ${CLEANUP+false}; then
|
127 |
| - echo "Skipping cleanup: build directory will persist." |
| 127 | + echo "Skipping cleanup: build directory will persist." |
128 | 128 | else
|
129 | 129 | rm -r "${_BUILD_DIR_NAME}"
|
130 | 130 | fi
|
0 commit comments