Ram Gandikota
/
metronome
FRDM K64F Metronome
mbed-client/test/lwm2mtestapplication/generate_coverage.sh@0:a2cb7295a1f7, 2017-05-14 (annotated)
- Committer:
- ram54288
- Date:
- Sun May 14 18:35:07 2017 +0000
- Revision:
- 0:a2cb7295a1f7
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ram54288 | 0:a2cb7295a1f7 | 1 | #!/bin/bash |
ram54288 | 0:a2cb7295a1f7 | 2 | |
ram54288 | 0:a2cb7295a1f7 | 3 | # Copyright (c) 2015 ARM Limited. All rights reserved. |
ram54288 | 0:a2cb7295a1f7 | 4 | # SPDX-License-Identifier: Apache-2.0 |
ram54288 | 0:a2cb7295a1f7 | 5 | # Licensed under the Apache License, Version 2.0 (the License); you may |
ram54288 | 0:a2cb7295a1f7 | 6 | # not use this file except in compliance with the License. |
ram54288 | 0:a2cb7295a1f7 | 7 | # You may obtain a copy of the License at |
ram54288 | 0:a2cb7295a1f7 | 8 | # |
ram54288 | 0:a2cb7295a1f7 | 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
ram54288 | 0:a2cb7295a1f7 | 10 | # |
ram54288 | 0:a2cb7295a1f7 | 11 | # Unless required by applicable law or agreed to in writing, software |
ram54288 | 0:a2cb7295a1f7 | 12 | # distributed under the License is distributed on an AS IS BASIS, WITHOUT |
ram54288 | 0:a2cb7295a1f7 | 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
ram54288 | 0:a2cb7295a1f7 | 14 | # See the License for the specific language governing permissions and |
ram54288 | 0:a2cb7295a1f7 | 15 | # limitations under the License. |
ram54288 | 0:a2cb7295a1f7 | 16 | |
ram54288 | 0:a2cb7295a1f7 | 17 | |
ram54288 | 0:a2cb7295a1f7 | 18 | rm -rf coverage |
ram54288 | 0:a2cb7295a1f7 | 19 | lcov --base-directory ../../ --directory ../../output/gcc_linux/source -c -o testapp.info |
ram54288 | 0:a2cb7295a1f7 | 20 | lcov --base-directory ../../ --directory ../../output/lwm2m-client-linux/source -c -o lwm2mlinux.info |
ram54288 | 0:a2cb7295a1f7 | 21 | lcov --base-directory ../../ --directory ../../output/lwm2m-client-mbedtls/source -c -o mbedtls.info |
ram54288 | 0:a2cb7295a1f7 | 22 | lcov --base-directory ../../../../nsdl-c --directory ../../../../nsdl-c/output/gcc_/source/libCoap/src -c -o libcoap.info |
ram54288 | 0:a2cb7295a1f7 | 23 | lcov --base-directory ../../../../nsdl-c --directory ../../../../nsdl-c/output/gcc_/source/libNsdl/src -c -o libnsdl.info |
ram54288 | 0:a2cb7295a1f7 | 24 | genhtml -o coverage -t "lwm2mtestapplication coverage" --num-spaces 4 testapp.info libcoap.info libnsdl.info lwm2mlinux.info mbedtls.info |
ram54288 | 0:a2cb7295a1f7 | 25 | lcov --base-directory ../../ --directory ../../output/gcc_linux/source -z |
ram54288 | 0:a2cb7295a1f7 | 26 | lcov --base-directory ../../ --directory ../../output/lwm2m-client-linux/source -z |
ram54288 | 0:a2cb7295a1f7 | 27 | lcov --base-directory ../../ --directory ../../output/lwm2m-client-mbedtls/source -z |
ram54288 | 0:a2cb7295a1f7 | 28 | lcov --base-directory ../../../../nsdl-c --directory ../../../../nsdl-c/output/gcc_/source/libCoap/src -z |
ram54288 | 0:a2cb7295a1f7 | 29 | lcov --base-directory ../../../../nsdl-c --directory ../../../../nsdl-c/output/gcc_/source/libNsdl/src -z |