Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
amber.png | 15-Nov-2011 | 127 | |
cov.py | 15-Nov-2011 | 7.6K | |
emerald.png | 15-Nov-2011 | 127 | |
gcov.css | 15-Nov-2011 | 1.5K | |
glass.png | 15-Nov-2011 | 127 | |
README | 15-Nov-2011 | 893 | |
regenerate-coverage-display | 15-Nov-2011 | 13.6K | |
ruby.png | 15-Nov-2011 | 127 | |
run-generate-coverage-data | 15-Nov-2011 | 8.5K | |
snow.png | 15-Nov-2011 | 127 |
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