summaryrefslogtreecommitdiffstats
path: root/test-wgt
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-09-18 15:51:14 -0400
committerScott Murray <scott.murray@konsulko.com>2020-09-29 22:36:08 +0000
commit6b60df806daef288a1143822677c8497f56958de (patch)
treef511dcc4c233ed41ae041947544f8137fecb36ff /test-wgt
parentfa461349a7fd4d4abad04ae0acbe517ab343c36e (diff)
Add source and coverage information installation to debug and coverage widgets. The source tree will be installed to "src" in debug and coverage widgets, with some non-source directories like doc/docs excluded. The gcc produced "gcno" files for generating coverage reports will be installed to "coverage" in coverage widgets. A different directory than that for source is used, as the gcno files are in the build output hierarchy, which is not the same as the source tree hierarchy when using CMake. This hierarchy needs to be preserved to be able to use gcc's coverage support. As part of this scheme, an environment file containing values for the GCOV_PREFIX and GCOV_PREFIX_STRIP variables is generated and added to "coverage". The latter variable can only be calculated during widget build, and is essential for abstracting the build directory location and enabling gcov usage on target. Bug-AGL: SPEC-3589 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I258fff0295444bb257d24d442798347728ee7875 (cherry picked from commit 7c03348d9c2de43684fa69c3c9e227b25daceaaa)
Diffstat (limited to 'test-wgt')
0 files changed, 0 insertions, 0 deletions
16'>116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190