mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
* coverage report * test script * not needed * option * options * re-build if file missing * rename * rename flag * just always build * cmt * fix rebuild, panda.c is what does gens gcno * clean up * check coverage * rename * add skip flag * Revert "add skip flag" This reverts commit 6991c174cebb8529b67199033e017155eff917b0. * both do same thing * clean up script * don't test here * Revert "don't test here" This reverts commit 43fe4c961fcc1693d5efc33cabb8162be56a1b88. * try running in CI * nproc * move * Revert "try running in CI" This reverts commit 912017c7fa93ba3faf31267b9b144cc9faee591b. * don't test here * fix path * re-compiling does this
14 lines
306 B
Bash
Executable File
14 lines
306 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# reset coverage data and generate gcc note file
|
|
scons -j$(nproc) -D --safety-coverage
|
|
|
|
# run safety tests to generate coverage data
|
|
./test.sh
|
|
|
|
# generate and open report
|
|
geninfo ../libpanda/ -o coverage.info
|
|
genhtml coverage.info -o coverage-out
|
|
browse coverage-out/index.html
|