How to generate the full coverage report
Requires gcovr
program and gcc
toolchain.
- Build with
F3D_COVERAGE
option enabled. - Run all tests,
xdotool
needs to be installed. This will generate many.gcda
files. - Generate the report with:
gcovr -r /path/to/sources --html --html-details -o coverage.html
.
How to build and test with sanitizer
Requires clang
toolchain.
- Build with
F3D_SANITIZER
option to any of the possible values. export LSAN_OPTIONS=suppressions=/path/to/f3d/.lsan.supp:use_tls=0
.export TSAN_OPTIONS=suppressions=/path/to/f3d/.tsan.supp
.- Run all tests.
How to locally generate the Jekyll based website
- Install
ruby
and make sure ruby binaries directory is added to yourPATH
- Install Jekyll and all dependencies:
gem install jekyll jekyll-remote-theme jekyll-relative-links jekyll-seo-tag jekyll-optional-front-matter jekyll-titles-from-headings jekyll-include-cache
- Run Jekyll locally:
jekyll server
- Open http://127.0.0.1:4000/ in a browser
Please note the favicon and search bar are not working locally, this is expected.
How to locally generate the doxygen documentation
- Install Python, pip and doxygen
pip install sphinx sphinx-book-theme exhale
sphinx-build -M html ./library/doxygen /path/to/build
/path/to/build
directory now contains a HTML website