summaryrefslogtreecommitdiffstats
path: root/testsuites/support (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuites/.../tmacros.h: Add parentheses to fix warningJoel Sherrill2014-11-241-2/+2
|
* libtests/malloctest/init.c: Fix warningJoel Sherrill2014-11-201-5/+27
| | | | | | | posix_memalign() is prototyped to take a non-NULL parameter. But our test is deliberately passing one in. With the -Wnon-null warning flag enabled, we will always get warnings on this test unless we disable that warning for this single test case.
* testsuites: Move include for C++ compatibilitySebastian Huber2014-10-231-3/+2
|
* 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-072-18/+49
| | | | Add locked_vprintf(). Return an int just like printf(), etc.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-218-8/+8
|
* sapi: Add <rtems/test.h>Sebastian Huber2014-03-172-0/+17
| | | | | | Provide support functions to print the begin/end of test message. Provide a test fatal extension to print out profiling reports in the future.
* testsuites: Add TESTS_USE_PRINTFSebastian Huber2014-02-121-0/+16
| | | | | Make it possible to use normal printf() if requested to allow output of floating point numbers.
* score: Create thread implementation headerSebastian Huber2013-07-261-2/+1
| | | | | | | | Move implementation specific parts of thread.h and thread.inl into new header file threadimpl.h. The thread.h contains now only the application visible API. Remove superfluous header file includes from various files.
* testsuites: Include missing header filesSebastian Huber2013-07-221-0/+1
|
* score: Add and use _Thread_Dispatch_is_enabled()Sebastian Huber2013-06-141-3/+3
| | | | | Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled().
* 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-119-18/+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-172-57/+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-113-6/+27
| | | | | | | | * 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-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-251-9/+0
| | | | | * support/include/tmacros.h: Remove fatal_posix_service_pointer_minus_one (unused).
* 2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-131-0/+30
| | | | | * support/include/primode.h: New. * Makefile.am: Add support/include/primode.h
* 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-09-301-4/+0
| | | | * support/include/tmacros.h: Remove PRItime_t.
* 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-09-301-0/+30
| | | | | * support/include/pritime.h: New. * Makefile.am: Add support/include/pritime.h
* 2011-07-29 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-07-291-1/+1
| | | | * support/include/test_support.h: Fixed incorrect name in prototype.
* 2011-07-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-07-011-2/+10
| | | | | | * support/include/tmacros.h: Disable the check for dispatch disable level for SMP tests. Another CPU may be inside RTEMS by the time these checks are being done which would result in false failures.
* 2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-06-282-1/+97
| | | | | * configure.ac, support/include/test_support.h: * support/src/locked_print.c: New file.
* 2011-04-21 Jennifer Averett <Jennifer.Averett@OARcorp.comJennifer Averett2011-04-211-3/+4
| | | | | | | PR 1777/cpukit * support/include/tmacros.h, tmtests/tm26/task1.c, tmtests/tm27/task1.c: Consolidated access to _Thread_Dispatch_disable_level.
* 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
|
* 2011-02-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-081-8/+0
| | | | * support/include/tmacros.h: Remove PRIxblksize_t, PRIxblkcnt_t.
* 2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-142-3/+29
| | | | | * 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-213-0/+85
| | | | | | | * 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.
* 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-291-3/+0
| | | | * support/include/tmacros.h: Remove PRIdoff_t.
* 2010-04-22 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2010-04-281-1/+4
| | | | | * support/include/tmacros.h: Changed check_dispatch_disable_level() to treat all non-zero values of _Thread_Dispatch_disable_level equally.
* 2009-12-08 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2009-12-084-16/+87
| | | | | | | * 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.
* 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-081-5/+6
| | | | | | * support/include/tmacros.h: Use rtems_test_assert() consistently instead of system assert(). rtems_test_assert() is designed to integrate into the RTEMS test suite infrastructure.
* Whitespace removal.Ralf Corsepius2009-11-302-6/+6
|
* 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-11-091-3/+11
| | | | | | * support/include/tmacros.h: Add service to check status returned by POSIX methods which return a pointer which is -1 on error. This eliminated some casts.
* 2009-01-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-11-031-6/+1
| | | | | * support/include/tmacros.h: Include rtems/score/thread.h. Remove _Thread_Dispatch_disable_level.
* Add PRIxino_t, PRIdoff_t, PRIxblksize_t, PRIxblkcnt_t.Ralf Corsepius2009-11-011-4/+21
| | | | Comment cleanups.
* Add PRIxrtems_task_priority, PRIxrtems_task_priority, PRIxrtems_signal_set.Ralf Corsepius2009-10-301-0/+5
|
* Add PRIxpthread_t.Ralf Corsepius2009-10-271-0/+4
|
* 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-271-2/+6
| | | | | * support/include/tmacros.h: Add PRIxrtems_event_set. (fatal_posix_service_status_errno) Add local "long" var "statx".
* Add PRIdThread_Entry_numeric_type.Ralf Corsepius2009-10-271-0/+5
| | | | Add PRIdrtems_task_argument.
* 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-261-1/+6
| | | | | * support/include/tmacros.h: Add PRIdWatchdog_Interval. Add PRIdrtems_interval.
* 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-261-1/+4
| | | | | * support/include/tmacros.h: Add PRIdPriority_Control. Change PRIdrtems_task_priority to using PRIdPriority_Control.
* Add PRIdrtems_task_priority.Ralf Corsepius2009-10-261-0/+2
|
* Add PRIxrtems_id.Ralf Corsepius2009-10-261-0/+6
|
* 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-261-0/+6
| | | | * support/include/tmacros.h: Add PRItime_t.
* 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-261-1/+1
| | | | * support/include/tmacros.h (print_time): Use PRIu32 instead of %d.
* 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-261-3/+3
| | | | * support/include/test_support.h: Add missing prototypes.