
####################
# UNIT TESTS
####################
set(TEST_SUITE_NAME "Watchdog")

# Add test specific include paths
set(unittest-includes ${unittest-includes}
  .
  ../hal
)

# Source files
set(unittest-sources
  ../drivers/source/Watchdog.cpp
)

# Test files
set(unittest-test-sources
  ../drivers/tests/UNITTESTS/Watchdog/test_watchdog.cpp
  stubs/mbed_critical_stub.c
  stubs/mbed_assert_stub.cpp
  stubs/watchdog_api_stub.c
)

set(unittest-test-flags
  -DDEVICE_WATCHDOG
  -DMBED_WDOG_ASSERT=1
)
