mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-12-01 12:20:02 +00:00
In the test-runner, defines are parameterized constants (limited to integers) that are generated from the test suite tomls resulting in many permutations of each test. In order to make this efficient, these defines are implemented as multi-layered lookup tables, using per-layer/per-scope indirect mappings. This lets the test-runner and test suites define their own defines with compile-time indexes independently. It also makes building of the lookup tables very efficient, since they can be incrementally populated as we expand the test permutations. The four current define layers and when we need to build them: layer defines predefine_map define_map user-provided overrides per-run per-run per-suite per-permutation defines per-perm per-case per-perm per-geometry defines per-perm compile-time - default defines compile-time compile-time -
18 lines
161 B
Plaintext
18 lines
161 B
Plaintext
# Compilation output
|
|
*.o
|
|
*.d
|
|
*.a
|
|
*.ci
|
|
*.csv
|
|
*.t.c
|
|
*.a.c
|
|
|
|
# Testing things
|
|
blocks/
|
|
lfs
|
|
test.c
|
|
tests/*.toml.*
|
|
scripts/__pycache__
|
|
.gdb_history
|
|
runners/test_runner
|