From 664c6ab82dd1d89b137d4ee28edb3d489d206d09 Mon Sep 17 00:00:00 2001 From: Filip Jagodzinski Date: Fri, 28 Jun 2019 14:02:50 +0200 Subject: [PATCH] Fix unittest errors --- UNITTESTS/drivers/VirtualWatchdog/unittest.cmake | 2 +- UNITTESTS/drivers/Watchdog/unittest.cmake | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UNITTESTS/drivers/VirtualWatchdog/unittest.cmake b/UNITTESTS/drivers/VirtualWatchdog/unittest.cmake index 14c4f98b82..88f67ae4ba 100644 --- a/UNITTESTS/drivers/VirtualWatchdog/unittest.cmake +++ b/UNITTESTS/drivers/VirtualWatchdog/unittest.cmake @@ -18,7 +18,7 @@ set(unittest-sources # Test files set(unittest-test-sources - drivers/Watchdog/test_virtualwatchdog.cpp + drivers/VirtualWatchdog/test_virtualwatchdog.cpp stubs/mbed_critical_stub.c ) diff --git a/UNITTESTS/drivers/Watchdog/unittest.cmake b/UNITTESTS/drivers/Watchdog/unittest.cmake index 517701e9ea..2eff4c4089 100644 --- a/UNITTESTS/drivers/Watchdog/unittest.cmake +++ b/UNITTESTS/drivers/Watchdog/unittest.cmake @@ -23,5 +23,5 @@ set(unittest-test-sources ) # defines -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DDEVICE_WATCHDOG -DMBED_WDOG_ASSERT=1") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEVICE_WATCHDOG -DMBED_WDOG_ASSERT=1") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DDEVICE_WATCHDOG -DMBED_WDOG_ASSERT=1 -DMBED_CONF_TARGET_WATCHDOG_TIMEOUT=500") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEVICE_WATCHDOG -DMBED_WDOG_ASSERT=1 -DMBED_CONF_TARGET_WATCHDOG_TIMEOUT=500") \ No newline at end of file