xref: /trunk/main/sal/qa/helper/gcov/build_coverage (revision cdf0e10c)
1
2# this is a helper, to build sal with the right compiler parameters
3# IMPORTANT, this works only within Linux
4
5if ( `uname` == "Linux" ) then
6	echo "running on Linux Intel, ok."
7
8    build killobj
9
10    # setenv OLDCFLAGS $ENVCFLAGS
11
12    setenv ENVCFLAGS "-fprofile-arcs -ftest-coverage"
13
14    build
15
16    # setenv ENVCFLAGS $OLDCFLAGS
17
18else
19
20    echo "Sorry, gcov works only within Linux environment."
21
22endif
23
24