summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/testsupport (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: Change TEST BUILD to use define namesSebastian Huber2018-01-221-77/+32
|
* testsupport/testbeginend.c: Fix redefined warningJoel Sherrill2018-01-161-1/+3
|
* testsupport/test.h: Add RTEMS_NO_RETURN to rtems_test_exit()Joel Sherrill2017-11-291-1/+1
|
* tests: Use ld to map (wrap) printf, puts and putchar to tester functions.Chris Johns2017-11-113-0/+60
| | | | | | | | | - Remove the macro defines and the need for tmacro.h by remapping the symbols using ld's wrap option. - Remove FLUSH_OUTPUT, it was empty. - Move rtems_test_exit to libmisc/testsupport as a function. Update #3199.
* tests: Use rtems_test_begin and rtems_test_end.Chris Johns2017-11-112-13/+120
| | | | | | Add a tests enum and move all test banner test to the library in libmisc. Update #3199.
* tests: Move rtems_test_printer definitionSebastian Huber2017-10-281-1/+6
| | | | | | | Statically initialize it to use printk(). Update #3170. Update #3199.
* tests: Move busy loop to test supportSebastian Huber2017-06-292-1/+124
| | | | Update #3056.
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-122-3/+3
| | | | Update #2825.
* testsupport: Determine worker index via processorSebastian Huber2016-11-032-40/+36
| | | | | Determine worker index via the current processor index to get consistent job runs with respect to the cache topology.
* Rename rtems_test_print() into rtems_test_printf()Sebastian Huber2016-06-222-2/+2
|
* Move printer initialization to separate headerSebastian Huber2016-06-221-1/+1
| | | | | | The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
* Rename and move RTEMS_PRINTF_ATTRIBUTE()Sebastian Huber2016-06-221-1/+1
| | | | | Rename RTEMS_PRINTF_ATTRIBUTE() into RTEMS_PRINTFLIKE() (similar to <sys/cdefs.h> __printflike()) and move it to <rtems/score/basedefs.h>.
* smptests/smpatomic01: New test casesSebastian Huber2016-06-011-1/+3
| | | | | Demonstrate that a read-modify-write atomic operation may be necessary on some archtitectures to observe the latest value written.
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-253-62/+43
| | | | | | | | | | | | | | | | | | | This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
* testsupport: Generate unique worker namesSebastian Huber2015-03-251-1/+11
|
* testsupport: Do not suspend worker tasksSebastian Huber2015-03-181-1/+3
|
* testsupport: Add worker setup handlerSebastian Huber2015-03-172-12/+71
| | | | Add rtems_test_parallel_get_task_id().
* testsupport: Add cascade option to parallel testAlexander Krutwig2015-03-062-11/+44
|
* tests: Fix warningSebastian Huber2015-03-051-2/+1
|
* tests: Refactor parallel test executionAlexander Krutwig2015-03-052-0/+268
|
* Move test support from sapi to libmisc/testsupportSebastian Huber2015-03-053-0/+240