I was trying to get coverage data on apr as suggested in the html document. It seems that on running the tests no .gcda documents are generated.

The following are the commands I followed.

  • CFLAGS="-fprofile-arcs -ftest-coverage ./configure
  • make
  • cd test
  • make
  • ./testall
  • cd ..
  • make gcov
  • Since no .gcda were created, no coverage files were created either.

    Could someone tell me how to generate this coverage data...