Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libtest: Fix use of flexible array member | Sebastian Huber | 2021-05-03 | 1 | -12/+12 |
| | | | | Flexible array members must not appear in the middle of a structure. | ||||
* | libtest: Print SHA256 hash in base64url | Sebastian Huber | 2021-02-26 | 1 | -7/+6 |
| | |||||
* | libtest: Report target hash | Sebastian Huber | 2021-02-26 | 1 | -0/+2 |
| | | | | Update #4267. | ||||
* | libtest: Report build label | Sebastian Huber | 2021-02-25 | 1 | -0/+1 |
| | | | | Update #4269. | ||||
* | libtest: Add support to seize/surrender objects | Sebastian Huber | 2021-02-24 | 1 | -0/+54 |
| | |||||
* | libtest: Add T_get_thread_timer_state() | Sebastian Huber | 2021-02-08 | 1 | -0/+29 |
| | |||||
* | libtest: Remove double definition | Sebastian Huber | 2021-02-01 | 1 | -1/+0 |
| | |||||
* | libtest: Fix implicit type conversions | Sebastian Huber | 2021-02-01 | 2 | -6/+9 |
| | | | | This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE). | ||||
* | libtest: Check return values with RTEMS_DEBUG | Sebastian Huber | 2021-02-01 | 1 | -13/+47 |
| | | | | This fix relates to a Coverity issue (UNINIT). | ||||
* | libtest: Remove superfluous NULL pointer check | Sebastian Huber | 2021-01-27 | 1 | -1/+1 |
| | | | | This fix relates to CID 1468683 (REVERSE_INULL). | ||||
* | libtest: Use dependency injection | Sebastian Huber | 2021-01-27 | 1 | -5/+11 |
| | | | | This helps static analyzers. | ||||
* | libtest: Fix undefined setjmp() behaviour | Sebastian Huber | 2020-11-24 | 1 | -52/+58 |
| | | | | | | Bug was introduced by 78baeb757957fa0807c30e6c4d21ae99c9639e6a. Update #3199. | ||||
* | libtest: Simplify "Load" environment reporting | Sebastian Huber | 2020-11-19 | 1 | -2/+2 |
| | | | | | | | Report all runtime measurement environments with a name only and encode the worker count of the "Load" environment in the name. Update #3199. | ||||
* | libtest: Allow assert checks during test begin | Sebastian Huber | 2020-11-19 | 1 | -12/+17 |
| | | | | Allow assert checks in test begin actions and setup fixture methods. | ||||
* | libtest: Rename ValidCache in FullCache | Sebastian Huber | 2020-11-19 | 1 | -5/+5 |
| | | | | | This name better reflects the execution envirnoment in which the cache is fully loaded with valid data unrelated to the body request handler. | ||||
* | libtest: Add primitive test case memory allocator | Sebastian Huber | 2020-11-19 | 1 | -0/+86 |
| | | | | | | | This primitive test case memory allocator uses memory from the low-level memory information provided by the BSP. At the beginning of each test case, the memory available to the test case is reinitialized. This allows the use of a simple allocate only allocator. | ||||
* | libtest: Simplify runtime measurement support | Sebastian Huber | 2020-11-19 | 1 | -47/+32 |
| | | | | | Use the test case allocator functions T_zalloc() and T_malloc(). Restore the task affinity of the runner task. | ||||
* | libtest: Make test case allocator configurable | Sebastian Huber | 2020-11-19 | 3 | -112/+90 |
| | |||||
* | libtest: Remove superfluous assignment | Sebastian Huber | 2020-09-24 | 1 | -1/+0 |
| | | | | Issue found by Coverity (CID 1437643). | ||||
* | libtest: Fix T_thread_switch_record() | Sebastian Huber | 2020-09-17 | 1 | -0/+1 |
| | | | | | | | If RTEMS_DEBUG is not defined, then we have to explicitly set the node off the chain. Update #3199. | ||||
* | libtest: Add T_push_plan() and T_pop_plan() | Sebastian Huber | 2020-08-18 | 1 | -0/+15 |
| | | | | Update #3199. | ||||
* | libtest: Use a destructor | Sebastian Huber | 2020-08-18 | 1 | -10/+5 |
| | | | | | | Do not set up a new test steps environment. Update #3199. | ||||
* | libtest: Change T_step() and T_assert_step() | Sebastian Huber | 2020-08-18 | 1 | -0/+11 |
| | | | | | | | | | | | Normally, the expected test step must be a compile time constant. Allow variable expected test steps for the T_step() and T_assert_step(). This can be used for parameterized test loops with individual fixtures. Remove the ability to use custom failure messages due to some implementation constraints. Update #3199. | ||||
* | libtest: Add fixture steps | Sebastian Huber | 2020-08-18 | 1 | -28/+55 |
| | | | | | | Support a new test plan for each nested fixture. Update #3199. | ||||
* | libtest: Add T_check_steps() | Sebastian Huber | 2020-08-18 | 1 | -18/+13 |
| | | | | Update #3199. | ||||
* | libtest: Use line buffer in T_check() | Sebastian Huber | 2020-08-18 | 1 | -31/+86 |
| | | | | Update #3199. | ||||
* | libtest: Add T_puts() | Sebastian Huber | 2020-08-18 | 1 | -0/+24 |
| | | | | Update #3199. | ||||
* | libtest: Add T_do_is_runner() | Sebastian Huber | 2020-08-18 | 1 | -30/+34 |
| | | | | Update #3199. | ||||
* | libtest: Add output buffer drain and fill | Sebastian Huber | 2020-08-18 | 1 | -25/+35 |
| | | | | Update #3199. | ||||
* | libtest: Change fixture scope method | Sebastian Huber | 2020-08-18 | 1 | -61/+75 |
| | | | | | | | Return the produced character count. There is no need for a NUL termination. Update #3199. | ||||
* | libtest: Add T_thread_switch_record() | Sebastian Huber | 2020-08-11 | 1 | -0/+165 |
| | | | | | | | | Add support to record thread switch events. This can be used to check that a blocking operation results in the expected sequence of thread switches. Update #3199. | ||||
* | libtest: Constify | Sebastian Huber | 2020-08-10 | 1 | -1/+1 |
| | | | | Update #3199. | ||||
* | libtest: Improve T_check_task_context | Sebastian Huber | 2020-08-07 | 1 | -0/+46 |
| | | | | Update #3199. | ||||
* | libtest: Fix T_interrupt_test() in SMP configs | Sebastian Huber | 2020-08-06 | 1 | -0/+45 |
| | | | | Update #3199. | ||||
* | libtest: Add T_interrupt_test() | Sebastian Huber | 2020-07-23 | 1 | -0/+441 |
| | | | | Update #3199. | ||||
* | libtest: Add rtems_test_run() | Sebastian Huber | 2020-07-23 | 1 | -0/+87 |
| | | | | Update #3199. | ||||
* | libtest: Add T_CHECK_FMT | Sebastian Huber | 2020-07-23 | 10 | -164/+171 |
| | | | | | | | | | | | | Rename internal function T_check_true() to T_check() and use the new flag T_CHECK_FMT to indicate if a format string is present. This is a preparation step to make the format string optional. Make the check context the first parameter. The API remains the same. Update #3199. | ||||
* | libtest: Add T_stop() | Sebastian Huber | 2020-07-23 | 1 | -3/+9 |
| | | | | Update #3199. | ||||
* | libtest: Split POSIX Keys support | Sebastian Huber | 2020-07-23 | 3 | -80/+192 |
| | | | | Update #3199. | ||||
* | libtest: Add T_get_scope() | Sebastian Huber | 2020-07-23 | 1 | -0/+39 |
| | | | | Update #3199. | ||||
* | libtest: Add push/pop fixture support | Sebastian Huber | 2020-07-23 | 1 | -21/+89 |
| | | | | Update #3199. | ||||
* | libtest: Support custom scope messages via fixture | Sebastian Huber | 2020-07-23 | 1 | -8/+24 |
| | | | | Update #3199. | ||||
* | libtest: Add T_make_runner() | Sebastian Huber | 2020-07-23 | 1 | -2/+8 |
| | | | | Update #3199. | ||||
* | libtest: Add T_get_one_clock_tick_busy() | Sebastian Huber | 2020-07-23 | 2 | -73/+121 |
| | | | | Update #3199. | ||||
* | libtest: Add T_busy() | Sebastian Huber | 2020-07-23 | 2 | -17/+61 |
| | | | | Update #3199. | ||||
* | libtest: Move <t.h> to <rtems/test.h> | Sebastian Huber | 2020-07-23 | 13 | -13/+13 |
| | | | | Update #3199. | ||||
* | libtest: <rtems/test.h> to <rtems/test-info.h> | Sebastian Huber | 2020-07-23 | 5 | -5/+5 |
| | | | | | | | | Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199. | ||||
* | Canonicalize config.h include | Sebastian Huber | 2020-04-16 | 4 | -4/+4 |
| | | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif | ||||
* | libtest: Fix T_check_task_context() | Sebastian Huber | 2020-01-28 | 1 | -2/+2 |
| | | | | Fix T_check_task_context() in RTEMS_SMP with RTEMS_DEBUG configurations. | ||||
* | libtest: Add T_check_task_context() action | Sebastian Huber | 2019-12-20 | 1 | -0/+69 |
| |