summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2022-11-08 14:56:22 +1100
committerjacqueline <me@jacqueline.id.au>2022-11-08 14:56:22 +1100
commit9f572cb92738c2f6d435f47fef9bad7344bc6e09 (patch)
treeb7d7145ee3d5ac19a2aea2c17e4e68c1164f02b1 /test/CMakeLists.txt
parente219925fac2d9b0b054445ac9c094d51ae30fd17 (diff)
downloadtangara-fw-9f572cb92738c2f6d435f47fef9bad7344bc6e09.tar.gz
Working test runner!!!
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index ddcc063a..8d8229d3 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,9 +1,14 @@
cmake_minimum_required(VERSION 3.16)
include(../common.cmake)
+idf_build_set_property(
+ COMPILE_OPTIONS "-DCATCH_CONFIG_NO_POSIX_SIGNALS -DCATCH_CONFIG_FAST_COMPILE" APPEND)
+
# Treat warnings as errors for test purposes.
list(APPEND EXTRA_WARNINGS "-Werror")
+list(APPEND EXTRA_COMPONENT_DIRS "$ENV{PROJ_PATH}/src/drivers")
+
# List all components that include tests here.
set(TEST_COMPONENTS "drivers")