libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

coverage.sh (453B)


      1 #!/bin/sh
      2 # make sure configure was run with coverage enabled...
      3 lcov --directory . --zerocounters
      4 make check
      5 rm `find * -name "*_test.gc??"`  `find src/testcurl -name "*.gc??"` `find src/testzzuf -name "*.gc??"` `find src/examples -name "*.gc??"`
      6 for n in `find * -name "*.gc*" | grep libs`
      7 do
      8   cd `dirname $n`
      9   mv `basename $n` ..
     10   cd -
     11 done
     12 lcov --directory . --capture --output-file app.info
     13 mkdir /tmp/coverage
     14 genhtml -o /tmp/coverage app.info