summaryrefslogtreecommitdiffstats
path: root/testsuites/support/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: Fix rtems_test_spin_until_next_tick()Sebastian Huber2018-12-071-13/+7
| | | | | | This bug surfaced due to sporadic failures in sptimecounter02. Adjust rtems_test_spin_for_ticks() to include the partial tick in the argument value.
* tests: Use vprintk() in locked_printf()Sebastian Huber2018-01-191-1/+1
| | | | This avoids blocking output and the use of the floating-point unit.
* tests: Remove unused locked_printk()Sebastian Huber2018-01-191-21/+0
|
* tests: Use exponential backoff in locked_vprintf()Sebastian Huber2017-11-221-3/+19
| | | | | Without the exponential backoff a livelock was observed on a QorIQ P2020 with test SMP 5.
* tests: Use rtems_test_printer in generalSebastian Huber2017-10-281-0/+2
| | | | | Update #3170. Update #3199.
* tests: Move rtems_test_printer definitionSebastian Huber2017-10-281-2/+0
| | | | | | | Statically initialize it to use printk(). Update #3170. Update #3199.
* testsuites: Fix locked_printf() test printerSebastian Huber2016-05-261-11/+3
|
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-251-17/+25
| | | | | | | | | | | | | | | | | | | 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.
* Use correct prototype of benchmark_timer_read()Joel Sherrill2014-09-161-3/+1
| | | | | | | | | | | | | | This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
* tests: Add locked_printf_plugin()Sebastian Huber2014-05-071-15/+37
| | | | Add locked_vprintf(). Return an int just like printf(), etc.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-215-5/+5
|
* testsuites: Include missing header filesSebastian Huber2013-07-221-0/+1
|
* smptests: Use priority ceiling for locked printSebastian Huber2013-05-311-1/+2
| | | | | In case the printf() blocks on a semaphore it was possible to end up in a livelock.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-115-10/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2012-03-021-0/+1
| | | | * support/src/spin.c: Include "test_support.h".
* Use alternative APISebastian Huber2012-02-171-39/+0
| | | | | | Replaced Allocate_majority_of_workspace() with rtems_workspace_allocate(). Replaced Allocate_majority_of_heap() with rtems_heap_greedy_allocate().
* 2011-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-112-6/+2
| | | | | | | | * support/include/tmtests_empty_function.h: New. * support/src/tmtests_empty_function.c, support/src/tmtests_support.c: Include "tmtests_empty_function.h". Remove local decls (Missing prototypes).
* 2011-11-04 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-041-2/+2
| | | | * support/src/test_support.c: Avoid magic numbers.
* 2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-06-281-0/+87
| | | | | * configure.ac, support/include/test_support.h: * support/src/locked_print.c: New file.
* 2011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-221-2/+2
| | | | | * support/src/tmtests_support.c: loop_overhead and end_time are uint32_t's.
* Add HAVE_CONFIG_H.Ralf Corsepius2011-02-224-0/+18
|
* 2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-141-1/+18
| | | | | * support/include/test_support.h, support/src/test_support.c: Add Allocate_majority_of_heap().
* 2010-06-25 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-251-3/+3
| | | | * support/src/tmtests_support.c: Fix warning.
* 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-212-0/+60
| | | | | | | * support/include/test_support.h, support/src/tmtests_empty_function.c: Add helper so it is easier to write a basic repeated operation tmtest. * support/src/tmtests_support.c: New file.
* 2009-12-08 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2009-12-082-8/+48
| | | | | | | * support/include/test_support.h, support/include/tmacros.h, support/src/test_support.c: Added support functions to spin for a number of ticks and to spin until the next tick. * support/src/spin.c: New file.
* Whitespace removal.Ralf Corsepius2009-11-301-5/+5
|
* 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-261-2/+2
| | | | * support/src/test_support.c: Add missing prototypes.
* 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-061-1/+1
| | | | * support/src/test_support.c: Tinker with longest valid name.
* 2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-101-1/+3
| | | | * support/src/tmtests_empty_function.c: Fix warnings.
* Convert to "bool".Ralf Corsepius2008-09-061-1/+1
|
* 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-311-0/+20
| | | | * support/src/tmtests_empty_function.c: New file.
* 2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2008-02-041-0/+66
* support/include/test_support.h, support/src/test_support.c: New files.