Jason Dellaluce
2ee0645f25
update(tests): remove token_bucket unit tests
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-01-04 16:41:18 +01:00
Jason Dellaluce
c93029ce74
fix(build): use correct libyaml variable in tests cmake
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2021-12-06 19:04:15 +01:00
Jason Dellaluce
076aabcea6
test(falco): adding unit tests for yaml_configuration
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2021-12-06 19:04:15 +01:00
Jason Dellaluce
d8c588becf
update: add yaml-cpp to unit tests
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2021-12-06 19:04:15 +01:00
Mark Stemm
38a7f7ada0
cmake/build changes for plugins
...
Add a cmake module "plugins" that does the following:
- Downloads/installs the plugins artifacts from a known tag
- Copies the resulting cloudtrail/json shared libraries to
CMAKE_CURRENT_BINARY_DIR/plugins
- Installs them to FALCO_SHARE_DIR/plugins
The default config will define the plugins but they will be disabled
by default.
Co-authored-by: Leonardo Grasso <me@leonardograsso.com >
Co-authored-by: Loris Degioanni <loris@sysdig.com >
Signed-off-by: Mark Stemm <mark.stemm@gmail.com >
2021-11-12 18:27:59 +01:00
Leonardo Grasso
0c1ed551ca
build: remove civetweb when minimal build
...
Signed-off-by: Leonardo Grasso <me@leonardograsso.com >
2020-09-10 15:01:07 +02:00
Lorenzo Fontana
05ce5b7f0b
new(tests): cases for falco::utils::starts_with
...
Signed-off-by: Lorenzo Fontana <lo@linux.com >
2020-05-21 18:15:46 +02:00
Lorenzo Fontana
1d43d4eb40
build(tests): allow to pass FALCO_TESTS_ARGUMENTS to the tests target
...
Signed-off-by: Lorenzo Fontana <lo@linux.com >
2020-05-14 15:02:15 +02:00
Mark Stemm
8adcc95bac
Add unit tests for ruleset handling
...
A new unit test file test_rulesets adds tests for the following:
- enabling/disabling rules based on substrings
- enabling/disabling rules based on exact matches
- enabling/disabling rules based on tags
There are variants that test for default and non-default rulesets.
Signed-off-by: Mark Stemm <mark.stemm@gmail.com >
2020-05-11 14:15:42 +02:00
Mark Stemm
1d1ecd9905
Add explicit catch2 dependency for tests
...
When I try to build the dev branch using the docker builder, the tests
target isn't properly checking out and building catch2 for the
dependency catch2.hpp. Adding this explicit dependency allowed the build
to succeed.
Signed-off-by: Mark Stemm <mark.stemm@gmail.com >
2019-10-08 16:12:18 +02:00
Lorenzo Fontana
c76518c681
update: license headers
...
Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com >
Signed-off-by: Lorenzo Fontana <lo@linux.com >
2019-10-08 16:02:26 +02:00
Leonardo Di Donato
2439e97da6
update(tests): setup unit tests for userspace/falco too
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com >
2019-08-13 15:48:06 +02:00
Lorenzo Fontana
19c12042f4
update: sysdig dir gate in subdirectories
...
Signed-off-by: Lorenzo Fontana <lo@linux.com >
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com >
2019-07-03 15:27:28 +02:00
Leonardo Di Donato
1a0cf69b03
chore: cmakes formatting
...
Co-Authored-By: Lorenzo Fontana <lo@linux.com >
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com >
2019-07-02 17:52:29 +02:00
Leonardo Di Donato
815f5d8714
new: test token bucket
...
Co-authored-by: Lorenzo Fontana <lo@linux.com >
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com >
2019-07-02 17:52:29 +02:00
Leonardo Di Donato
11838548df
build: includes for tests
...
Co-Authored-by: Lorenzo Fontana <lo@linux.com >
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com >
2019-07-02 17:52:29 +02:00
Lorenzo Fontana
93537ccaea
update: test files should use the naming convention
...
Signed-off-by: Lorenzo Fontana <lo@linux.com >
2019-06-25 17:01:38 +02:00
Lorenzo Fontana
4174822617
fix: remove example file from cmake tests
...
Signed-off-by: Lorenzo Fontana <lo@linux.com >
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com >
2019-06-25 17:01:38 +02:00
Lorenzo Fontana
adabae4f63
update: build unit tests in travis
...
Signed-off-by: Lorenzo Fontana <lo@linux.com >
Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com >
2019-06-25 17:01:38 +02:00
Lorenzo Fontana
6e92988425
docs: licensing info in test files
...
Signed-off-by: Lorenzo Fontana <lo@linux.com >
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com >
2019-06-25 17:01:38 +02:00
Lorenzo Fontana
18b66330ec
new: tests cmake setup
...
Signed-off-by: Lorenzo Fontana <lo@linux.com >
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com >
2019-06-25 17:01:38 +02:00