Commit Graph

24 Commits

Author SHA1 Message Date
Joel Sherrill
8fbe2e69b5 Use correct prototype of benchmark_timer_read()
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.
2014-09-16 16:09:12 -05:00
Sebastian Huber
b97bc8bc71 tests: Add locked_printf_plugin()
Add locked_vprintf().  Return an int just like printf(), etc.
2014-05-07 18:27:19 +02:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
a9127a2e65 testsuites: Include missing header files 2013-07-22 16:45:59 +02:00
Sebastian Huber
ac2bb464a5 smptests: Use priority ceiling for locked print
In case the printf() blocks on a semaphore it was possible to end up in
a livelock.
2013-05-31 15:20:30 +02:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
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.
2012-05-11 08:44:13 -05:00
Ralf Corsépius
ac165341df 2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/src/spin.c: Include "test_support.h".
2012-03-02 18:16:33 +01:00
Sebastian Huber
77998753b5 Use alternative API
Replaced Allocate_majority_of_workspace() with
rtems_workspace_allocate().  Replaced Allocate_majority_of_heap() with
rtems_heap_greedy_allocate().
2012-02-17 16:56:17 +01:00
Ralf Corsepius
436ef337de 2011-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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-12-11 06:49:22 +00:00
Sebastian Huber
abe56121c7 2011-11-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* support/src/test_support.c: Avoid magic numbers.
2011-11-04 09:55:04 +00:00
Joel Sherrill
152a284188 2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, support/include/test_support.h:
	* support/src/locked_print.c: New file.
2011-06-28 21:09:13 +00:00
Ralf Corsepius
9fa8d0eed5 2011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/src/tmtests_support.c:
	loop_overhead and end_time are uint32_t's.
2011-02-22 14:41:17 +00:00
Ralf Corsepius
b1305bb945 Add HAVE_CONFIG_H. 2011-02-22 11:11:44 +00:00
Joel Sherrill
be8bdff62b 2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/test_support.h, support/src/test_support.c: Add
	Allocate_majority_of_heap().
2010-07-14 16:03:57 +00:00
Joel Sherrill
d04a7e9316 2010-06-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* support/src/tmtests_support.c: Fix warning.
2010-06-25 16:59:06 +00:00
Joel Sherrill
82fbd358ba 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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-06-21 16:54:17 +00:00
Glenn Humphrey
6cc1c294d6 2009-12-08 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* 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 21:39:21 +00:00
Ralf Corsepius
b1274bd94c Whitespace removal. 2009-11-30 03:33:25 +00:00
Ralf Corsepius
a00d2e5f2a 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/src/test_support.c: Add missing prototypes.
2009-10-26 05:30:29 +00:00
Joel Sherrill
288f8498b7 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/src/test_support.c: Tinker with longest valid name.
2009-08-06 19:25:17 +00:00
Joel Sherrill
072d2a0933 2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/src/tmtests_empty_function.c: Fix warnings.
2009-05-10 14:43:44 +00:00
Ralf Corsepius
f0157b8fd8 Convert to "bool". 2008-09-06 03:39:58 +00:00
Joel Sherrill
35eb543d87 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/src/tmtests_empty_function.c: New file.
2008-08-31 17:37:39 +00:00
Jennifer Averett
ccc4203563 2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>
* support/include/test_support.h, support/src/test_support.c: New files.
2008-02-04 19:40:33 +00:00