summaryrefslogtreecommitdiffstats
path: root/cpukit/libtest (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-01-28libtest: Fix T_check_task_context()Sebastian Huber1-2/+2
Fix T_check_task_context() in RTEMS_SMP with RTEMS_DEBUG configurations.
2019-12-20libtest: Add T_check_task_context() actionSebastian Huber1-0/+69
2019-12-20libtest: Use test configuration in T_now()Sebastian Huber2-5/+21
Use the user provided now handler of the test configuration to get the time in T_now().
2019-12-20libtest: Fix use of T_check_true()Sebastian Huber2-3/+3
2019-12-05libtest: Change expected pass state stringSebastian Huber1-1/+1
Use separator character '_' for all test states.
2019-12-04libtest: Change expected fail state stringSebastian Huber1-1/+1
Use the value expected by the RTEMS Tester. There are two separator characters used ('-' and '_') for the states. This is a bit inconsistent.
2019-11-25libtest: Output basename of source filesSebastian Huber1-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.
2019-10-11libtest: Add more action eventsSebastian Huber5-22/+24
This allows more control over the initialization and finalization run. Update #3199.
2019-10-11libtest: Do all output in test runnerSebastian Huber1-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.
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber2-4/+4
Add rtems_scheduler_get_processor_maximum() as a replacement for rtems_get_processor_count(). The rtems_get_processor_count() is a bit orphaned. Adopt it by the Scheduler Manager. The count is also misleading, since the processor set may have gaps and the actual count of online processors may be less than the value returned by rtems_get_processor_count(). Update #3732.
2019-04-09rtems: Add rtems_scheduler_get_processor()Sebastian Huber2-2/+2
Add rtems_scheduler_get_processor() as a replacement for rtems_get_current_processor(). The rtems_get_current_processor() is a bit orphaned. Adopt it by the Scheduler Manager. This is in line with the glibc sched_getcpu() function. Deprecate rtems_get_current_processor(). Update #3731.
2019-03-27Add RTEMS Test FrameworkSebastian Huber12-0/+3353
Update #3199.
2019-03-26build: Move test support to librtemstest.aSebastian Huber5-0/+546
One reason to move the test support into a dedicated library are the standard output __wrap_*() functions. They may conflict with application level wrappers. Update #3199.