Home | History | Annotate | only in /external/webkit/Tools/CodeCoverage
Up to higher level directory
NameDateSize
amber.png15-Nov-2011127
cov.py15-Nov-20117.6K
emerald.png15-Nov-2011127
gcov.css15-Nov-20111.5K
glass.png15-Nov-2011127
README15-Nov-2011893
regenerate-coverage-display15-Nov-201113.6K
ruby.png15-Nov-2011127
run-generate-coverage-data15-Nov-20118.5K
snow.png15-Nov-2011127

README

      1 Generate coverage on Mac
      2 
      3 call Tools/Script/generate-coverage-data
      4 
      5 or by hand
      6 
      7 
      8 # delete
      9 find . -name '*.gcda' -delete
     10 
     11 # build, -framework CoreFoundation might suffice as well
     12 Tools/Scripts/build-webkit GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES EXTRA_LINK=" -ftest-coverage -fprofile-arcs" OTHER_CFLAGS=" -MD " OTHER_LDFLAGS=" -ftest-coverage -fprofile-arcs -framework AppKit"
     13 Tools/Scripts/run-webkit-tests
     14 Tools/Scripts/run-javascriptcore-tests GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES EXTRA_LINK=" -ftest-coverage -fprofile-arcs" OTHER_CFLAGS=" -MD " OTHER_LDFLAGS=" -ftest-coverage -fprofile-arcs -framework AppKit"
     15 
     16 
     17 # Collect files
     18 Tools/CodeCoverage/run-generate-coverage-data <RUN_ID> ../coverage-results/
     19 
     20 
     21 # Generate graph
     22 Tools/CodeCoverage/regenerate-coverage-display ../coverage-results/ ../coverage-results/html
     23