summaryrefslogtreecommitdiffstats
path: root/cpukit/libtest/t-test.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libtest: Add T_add_remark()Sebastian Huber2023-11-281-1/+33
| | | | | | | This can be used to report that nested test cases did run in a test case. Update #4971.
* score: Move formatted I/O functionsSebastian Huber2023-07-281-1/+1
| | | | These functions do not belong to an super core service.
* libtest: Place files into a Doxygen groupSebastian Huber2023-07-261-2/+11
| | | | | | Canonicalize the file headers. Update #3707.
* Update company nameSebastian Huber2023-05-201-1/+1
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* libtest: Increase line lengthSebastian Huber2022-03-241-1/+1
| | | | Update #3716.
* libtest: Return fixture context in T_case_begin()Sebastian Huber2021-09-021-1/+2
| | | | This makes it similar to T_push_fixture().
* libtest: Report target hashSebastian Huber2021-02-261-0/+2
| | | | Update #4267.
* libtest: Report build labelSebastian Huber2021-02-251-0/+1
| | | | Update #4269.
* libtest: Remove superfluous NULL pointer checkSebastian Huber2021-01-271-1/+1
| | | | This fix relates to CID 1468683 (REVERSE_INULL).
* libtest: Use dependency injectionSebastian Huber2021-01-271-5/+11
| | | | This helps static analyzers.
* libtest: Fix undefined setjmp() behaviourSebastian Huber2020-11-241-52/+58
| | | | | | Bug was introduced by 78baeb757957fa0807c30e6c4d21ae99c9639e6a. Update #3199.
* libtest: Allow assert checks during test beginSebastian Huber2020-11-191-12/+17
| | | | Allow assert checks in test begin actions and setup fixture methods.
* libtest: Make test case allocator configurableSebastian Huber2020-11-191-0/+86
|
* libtest: Add T_push_plan() and T_pop_plan()Sebastian Huber2020-08-181-0/+15
| | | | Update #3199.
* libtest: Change T_step() and T_assert_step()Sebastian Huber2020-08-181-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 stepsSebastian Huber2020-08-181-28/+55
| | | | | | Support a new test plan for each nested fixture. Update #3199.
* libtest: Add T_check_steps()Sebastian Huber2020-08-181-18/+13
| | | | Update #3199.
* libtest: Use line buffer in T_check()Sebastian Huber2020-08-181-31/+86
| | | | Update #3199.
* libtest: Add T_puts()Sebastian Huber2020-08-181-0/+24
| | | | Update #3199.
* libtest: Add T_do_is_runner()Sebastian Huber2020-08-181-30/+34
| | | | Update #3199.
* libtest: Add output buffer drain and fillSebastian Huber2020-08-181-25/+35
| | | | Update #3199.
* libtest: Change fixture scope methodSebastian Huber2020-08-181-61/+75
| | | | | | | Return the produced character count. There is no need for a NUL termination. Update #3199.
* libtest: Add T_CHECK_FMTSebastian Huber2020-07-231-48/+52
| | | | | | | | | | | | 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 Huber2020-07-231-3/+9
| | | | Update #3199.
* libtest: Add T_get_scope()Sebastian Huber2020-07-231-0/+39
| | | | Update #3199.
* libtest: Add push/pop fixture supportSebastian Huber2020-07-231-21/+89
| | | | Update #3199.
* libtest: Support custom scope messages via fixtureSebastian Huber2020-07-231-8/+24
| | | | Update #3199.
* libtest: Add T_make_runner()Sebastian Huber2020-07-231-2/+8
| | | | Update #3199.
* libtest: Move <t.h> to <rtems/test.h>Sebastian Huber2020-07-231-1/+1
| | | | Update #3199.
* libtest: Use test configuration in T_now()Sebastian Huber2019-12-201-0/+11
| | | | | Use the user provided now handler of the test configuration to get the time in T_now().
* libtest: Output basename of source filesSebastian Huber2019-11-251-4/+18
| | | | | | | | | | | Output only the basename of source files to be independent of the build system source paths. In the future it may be better to use the GCC -fmacro-prefix-map option. This option is available in GCC 8 and later. It is not yet available in clang. Update #3818.
* libtest: Add more action eventsSebastian Huber2019-10-111-8/+10
| | | | | | This allows more control over the initialization and finalization run. Update #3199.
* libtest: Do all output in test runnerSebastian Huber2019-10-111-23/+115
| | | | | | | | This ensures that lines are output atomically if they are produced by different other contexts, e.g. interrupts, other processors, other threads. Update #3199.
* Add RTEMS Test FrameworkSebastian Huber2019-03-271-0/+888
Update #3199.