mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-06 19:29:09 +00:00
update(tests): setup unit tests for userspace/falco too
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
parent
8c62ec5472
commit
2439e97da6
@ -15,7 +15,7 @@
|
|||||||
# License for the specific language governing permissions and limitations under
|
# License for the specific language governing permissions and limitations under
|
||||||
# the License.
|
# the License.
|
||||||
#
|
#
|
||||||
set(FALCO_TESTS_SOURCES test_base.cpp engine/test_token_bucket.cpp)
|
set(FALCO_TESTS_SOURCES test_base.cpp engine/test_token_bucket.cpp falco/test_webserver.cpp)
|
||||||
|
|
||||||
set(FALCO_TESTED_LIBRARIES falco_engine)
|
set(FALCO_TESTED_LIBRARIES falco_engine)
|
||||||
|
|
||||||
@ -38,7 +38,10 @@ if(FALCO_BUILD_TESTS)
|
|||||||
falco_test
|
falco_test
|
||||||
PUBLIC "${CATCH2_INCLUDE}"
|
PUBLIC "${CATCH2_INCLUDE}"
|
||||||
"${FAKEIT_INCLUDE}"
|
"${FAKEIT_INCLUDE}"
|
||||||
"${PROJECT_SOURCE_DIR}/userspace/engine")
|
"${PROJECT_SOURCE_DIR}/userspace/engine"
|
||||||
|
"${YAMLCPP_INCLUDE_DIR}"
|
||||||
|
"${CIVETWEB_INCLUDE_DIR}"
|
||||||
|
"${PROJECT_SOURCE_DIR}/userspace/falco")
|
||||||
|
|
||||||
include(CMakeParseArguments)
|
include(CMakeParseArguments)
|
||||||
include(CTest)
|
include(CTest)
|
||||||
|
Loading…
Reference in New Issue
Block a user