mirror of
https://github.com/falcosecurity/falco.git
synced 2026-02-21 14:13:27 +00:00
This makes things easier to pass around like when starting the web server. This has the added benefit of simplifying further extension such as making the metrics endpoint name configurable without adding yet another parameter to the start function. Signed-off-by: Samuel Gaist <samuel.gaist@idiap.ch>
Falco unit tests
Intro
Under unit_tests/engine and unit_tests/falco directories, we have different test suites that could be a single file or an entire directory according to the number and the complexity of tests.
Build and Run
cmake -DMINIMAL_BUILD=On -DBUILD_BPF=Off -DBUILD_DRIVER=Off -DBUILD_FALCO_UNIT_TESTS=On ..
make falco_unit_tests
sudo ./unit_tests/falco_unit_tests