diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-18 20:09:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-07-23 09:27:47 +0200 |
commit | c9d2405848bd55676578748f191c2f2317b9dd76 (patch) | |
tree | dd678f2a8369442e085f2264f8a994b8cea89724 /cpukit/include/rtems/test-info.h | |
parent | libtest: Add quiet assert NULL pointer checks (diff) | |
download | rtems-c9d2405848bd55676578748f191c2f2317b9dd76.tar.bz2 |
libtest: Add rtems_test_run()
Update #3199.
Diffstat (limited to 'cpukit/include/rtems/test-info.h')
-rw-r--r-- | cpukit/include/rtems/test-info.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/include/rtems/test-info.h b/cpukit/include/rtems/test-info.h index 42f5235af8..d5580bdebb 100644 --- a/cpukit/include/rtems/test-info.h +++ b/cpukit/include/rtems/test-info.h @@ -304,6 +304,20 @@ void rtems_test_parallel( */ void rtems_test_busy_cpu_usage(time_t seconds, long nanoseconds); +/** + * @brief Runs the test cases of the RTEMS Test Framework using a default + * configuration in the context of a task. + * + * The application must provide rtems_test_name. + * + * @param arg is the task argument. + * @param state is the test state. + */ +RTEMS_NO_RETURN void rtems_test_run( + rtems_task_argument arg, + const RTEMS_TEST_STATE state +); + /** @} */ #ifdef __cplusplus |