treesls/tests
lidj abbece53ff init base os 2023-09-01 20:34:25 +08:00
..
arch/x86_64 init base os 2023-09-01 20:34:25 +08:00
common init base os 2023-09-01 20:34:25 +08:00
dtb init base os 2023-09-01 20:34:25 +08:00
elf init base os 2023-09-01 20:34:25 +08:00
example init base os 2023-09-01 20:34:25 +08:00
fs init base os 2023-09-01 20:34:25 +08:00
include init base os 2023-09-01 20:34:25 +08:00
mm init base os 2023-09-01 20:34:25 +08:00
object init base os 2023-09-01 20:34:25 +08:00
README.md init base os 2023-09-01 20:34:25 +08:00

README.md

#Tests

Unit tests

Dependencies

  • lcov

Unit test

use minunit

Refer to example

minunit README

Coverage

Refer to example

Use your own $PROJECT and $SOURCES

mkdir build
cd build
cmake .. -G Ninja
ninja
ninja lcov

if all tests passes, coverage report will be in the report directory