"Fossies" - the Fresh Open Source Software Archive

Member "citadel/scripts/dolcov.sh" (5 Jun 2021, 590 Bytes) of package /linux/www/citadel.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 
    3 CITDIR=`pwd`
    4 OUTDIR=${CITDIR}/../../coverage/citadel
    5 ln -s  parsedate.c y.tab.c
    6 
    7 # if we call citserver with ./citserver, we don't need these: 
    8 #cd ${CITDIR}/utillib/; ln -s . utillib; cd ..
    9 #cd ${CITDIR}/modules
   10 #for i in *; do cd $CITDIR/modules/$i; ln -s . modules; ln -s . $i; ln -s ../../user_ops.h .; done
   11 
   12 cd ${CITDIR}
   13 
   14 mkdir -p  ${OUTDIR}
   15 lcov --base-directory ${CITDIR} --directory . --capture --output-file ${OUTDIR}/citadel.info $@
   16 genhtml --output-directory ${OUTDIR} ${OUTDIR}/citadel.info
   17 
   18 
   19 
   20 #exit
   21 #rm y.tab.c
   22 
   23 find -type l -exec rm {} \;
   24 rm -f  .#user_ops.h.gcov