mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/Tasty.git
synced 2025-09-28 15:57:33 +00:00
Updated test cases to work for TACOS rework
This commit is contained in:
@@ -19,12 +19,10 @@
|
||||
#define STA_ASSERT_FORCE
|
||||
#define STA_DEBUGGING_ENABLED
|
||||
|
||||
// Settings for the rtos-utils
|
||||
#define STA_RTOS_SYSTEM_EVENTS_ENABLE
|
||||
|
||||
// Use the default configs for TACOS
|
||||
#include <sta/tacos/configs/default.hpp>
|
||||
|
||||
#define STA_TACOS_WATCHDOG_ENABLED
|
||||
#define STA_TACOS_WATCHDOG_FREQUENCY 1000
|
||||
#define STA_TACOS_NUM_STATES 8
|
||||
|
||||
|
@@ -10,6 +10,11 @@ namespace sta
|
||||
{
|
||||
namespace tasty
|
||||
{
|
||||
/**
|
||||
* @brief Initialize Tasty for the test case.
|
||||
*
|
||||
*/
|
||||
void test_init();
|
||||
/**
|
||||
* @brief Print a test result via serial.
|
||||
*
|
||||
@@ -28,6 +33,12 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
/**
|
||||
* @brief Initialize Tasty for the test case.
|
||||
*
|
||||
*/
|
||||
#define STA_TASTY_INIT() ( (void)( sta::tasty::test_init() ) )
|
||||
|
||||
/**
|
||||
* @brief Assert statement for automatic testing using tasty. Sends the test result to the host via serial.
|
||||
*
|
||||
@@ -43,4 +54,4 @@ namespace sta
|
||||
|
||||
#endif // STA_DEBUGGING_ENABLED
|
||||
|
||||
#endif // STA_TASTY_UTILS_HPP
|
||||
#endif // STA_TASTY_UTILS_HPP
|
||||
|
Reference in New Issue
Block a user