Mercurial > trustbridge
annotate make-coverage.sh.in @ 754:27043d74dc90
(Issue25) Align header contents in their own column.
We now also stretch column 3 so that the contents are aligned
with the descriptive labels without a space in between.
Sadly this causes the quit button to be resized to it's minimum
instead of sharing the space with the installation button as the
installation button is so large that it squeezes the push button.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 07 Jul 2014 12:38:33 +0200 |
parents | 5cd525fc91de |
children | 0f3af6916395 |
rev | line source |
---|---|
557
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
1 #!/bin/bash |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
2 |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
3 # Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
4 # Software engineering by Intevation GmbH |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
5 # |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
6 # This file is Free Software under the GNU GPL (v>=2) |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
7 # and comes with ABSOLUTELY NO WARRANTY! |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
8 # See LICENSE.txt for details. |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
9 |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
10 set -x |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
11 |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
12 rm -r @CMAKE_CURRENT_BINARY_DIR@/coverage |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
13 mkdir -p @CMAKE_CURRENT_BINARY_DIR@/coverage |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
14 cd @CMAKE_CURRENT_BINARY_DIR@/coverage |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
15 lcov -c -i -d @CMAKE_BINARY_DIR@ -o base.info |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
16 cd @CMAKE_BINARY_DIR@ |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
17 make test |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
18 lcov -c -d @CMAKE_BINARY_DIR@ -o test.info |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
19 lcov -a base.info -a test.info -o TrustBridge-@PROJECT_VERSION@.info |
5cd525fc91de
Add lcov target to generate coverage report
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
20 genhtml TrustBridge-@PROJECT_VERSION@.info |