| #!/bin/bash |
| #/////////////////////////////////////////////////////////////////////////////// |
| #// Copyright (c) 2000-2019 Ericsson Telecom AB // |
| #// // |
| #// All rights reserved. This program and the accompanying materials // |
| #// are made available under the terms of the Eclipse Public License v2.0 // |
| #// which accompanies this distribution, and is available at // |
| #// https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html // |
| #/////////////////////////////////////////////////////////////////////////////// |
| #prints out the list of unused functions |
| TTCN3COV_FNS="" |
| if [ -r "TTCN3Coverage.fns" ] |
| then |
| TTCN3COV_FNS="TTCN3Coverage.fns" |
| fi |
| |
| TTCN3COV_INPUTFILES=$(ls *.cov 2> /dev/null) |
| |
| echo "-" |
| echo "- Coverage info is generated by ttcn3cov version 1.0 on "$(date)" for user "$USER |
| echo "-" |
| echo "" |
| gawk -f $(dirname $0)/GetUnusedFns.awk ${TTCN3COV_FNS} ${TTCN3COV_INPUTFILES} |