xref: /trunk/main/sal/qa/helper/gcov/gcov_all (revision cdf0e10c)
1*cdf0e10cSrcweir#!/bin/bash
2*cdf0e10cSrcweir# $Id: gcov_all,v 1.4 2005-11-02 17:23:43 kz Exp $
3*cdf0e10cSrcweir# This helper run lists all c and cxx files from selected directories.
4*cdf0e10cSrcweir
5*cdf0e10cSrcweir# PRJ points to the flat project directory
6*cdf0e10cSrcweirPRJ='../../..'
7*cdf0e10cSrcweir
8*cdf0e10cSrcweir# selected directories
9*cdf0e10cSrcweirFILES=`/bin/ls $PRJ/osl/unx/*.c $PRJ/osl/unx/*.cxx $PRJ/rtl/source/*.c $PRJ/rtl/source/*.cxx $PRJ/osl/all/*.c $PRJ/osl/all/*.cxx $PRJ/textenc/*.c`
10*cdf0e10cSrcweir
11*cdf0e10cSrcweir# Use gcov_filter on every c/cxx file.
12*cdf0e10cSrcweirfor file in $FILES; do
13*cdf0e10cSrcweir    # echo $file
14*cdf0e10cSrcweir    perl gcov_filter.pl -o $PRJ/unxlngi6/slo -i $PRJ/util/sal.map $file $*
15*cdf0e10cSrcweirdone
16