Commit Graph

19 Commits

Author SHA1 Message Date
Chris Johns
dfc57eb34f testsuite/psxtmtests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Sebastian Huber
c4b8b147dd tests: Use simple console driver
Update #3170.
Update #3199.
2017-11-06 07:26:42 +01:00
Sebastian Huber
af4355459e tests: Remove TEST_INIT
The TEST_EXTERN is a used only by the system.h style tests and they use
CONFIGURE_INIT appropriately.

Update #3170.
Update #3199.
2017-10-28 13:33:56 +02:00
Chris Johns
98c6d50145 testsuite: Use printk for all test output where possible.
- Remove the printf support leaving the direct printk support configured
  with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf
  call to printk.
- Control the test's single init for functions and global data with
  TEST_INIT and not CONFIGURE_INIT. They are now separate.

Updates #3170.
2017-10-23 16:25:45 +11:00
Sebastian Huber
89fc9345de posix: Implement self-contained POSIX rwlocks
POSIX rwlocks are now available in all configurations and no longer
depend on --enable-posix.

Update #2514.
Update #3115.
2017-10-05 14:29:02 +02:00
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
bjorn larsson
fd46711c54 psxtmtests: Add test.h support 2014-03-25 08:06:37 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Joel Sherrill
50162e061b psxtmtests: Make output more uniform 2013-12-07 19:10:35 -06:00
Joel Sherrill
991a3cc1c9 psxtmtests - Eliminate missing prototype warnings 2012-05-11 09:15:40 -05: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
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
84b0190564 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Ralf Corsepius
257d8fde77 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxtmbarrier01/init.c: Make benchmark_pthread_barrier_init,
	benchmark_pthread_barrier_destroy static.
	* psxtmkey01/init.c: Make benchmark_pthread_key_create,
	benchmark_pthread_key_delete static.
	* psxtmrwlock01/init.c: Make benchmark_pthread_rwlock_init,
	benchmark_pthread_rwlock_rdlock, benchmark_pthread_rwlock_unlock,
	benchmark_pthread_rwlock_tryrdlock,
	benchmark_pthread_rwlock_timedrdlock,
	benchmark_pthread_rwlock_wrlock,
	benchmark_pthread_rwlock_trywrlock,
	benchmark_pthread_rwlock_timedwrlock,
	benchmark_pthread_rwlock_destroy static.
	* psxtmsem01/init.c: Make benchmark_sem_init,
	benchmark_sem_destroy, benchmark_sem_open, benchmark_sem_close,
	benchmark_sem_unlink, benchmark_sem_open_second,
	benchmark_sem_close_second static.
	* psxtmthread01/init.c: Make benchmark_pthread_create static.
2011-12-13 10:13:24 +00:00
Joel Sherrill
2b7b14f660 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1589/build
	* psxtmbarrier01/Makefile.am, psxtmbarrier02/Makefile.am,
	psxtmbarrier03/Makefile.am, psxtmkey01/Makefile.am,
	psxtmkey02/Makefile.am, psxtmmq01/Makefile.am,
	psxtmmutex01/Makefile.am, psxtmmutex02/Makefile.am,
	psxtmmutex03/Makefile.am, psxtmmutex04/Makefile.am,
	psxtmmutex05/Makefile.am, psxtmmutex06/Makefile.am,
	psxtmmutex07/Makefile.am, psxtmnanosleep01/Makefile.am,
	psxtmnanosleep02/Makefile.am, psxtmrwlock01/Makefile.am,
	psxtmrwlock02/Makefile.am, psxtmrwlock03/Makefile.am,
	psxtmrwlock04/Makefile.am, psxtmrwlock05/Makefile.am,
	psxtmrwlock06/Makefile.am, psxtmrwlock07/Makefile.am,
	psxtmsem01/Makefile.am, psxtmsem02/Makefile.am,
	psxtmsem03/Makefile.am, psxtmsem04/Makefile.am,
	psxtmsem05/Makefile.am, psxtmsleep01/Makefile.am,
	psxtmsleep02/Makefile.am, psxtmthread01/Makefile.am,
	psxtmthread03/Makefile.am: Remove obsolete optional manager
	capability.
2011-12-08 21:38:26 +00:00
Ralf Corsepius
add2977210 2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxtmbarrier01/init.c, psxtmbarrier02/init.c, psxtmbarrier03/init.c,
	psxtmkey01/init.c, psxtmkey02/init.c, psxtmmq01/init.c,
	psxtmmutex01/init.c, psxtmmutex02/init.c, psxtmmutex03/init.c,
	psxtmmutex04/init.c, psxtmmutex05/init.c, psxtmmutex06/init.c,
	psxtmmutex07/init.c, psxtmnanosleep01/init.c, psxtmnanosleep02/init.c,
	psxtmrwlock01/init.c, psxtmrwlock02/init.c, psxtmrwlock03/init.c,
	psxtmrwlock04/init.c, psxtmrwlock05/init.c, psxtmrwlock06/init.c,
	psxtmrwlock07/init.c, psxtmsem01/init.c, psxtmsem02/init.c,
	psxtmsem03/init.c, psxtmsem04/init.c, psxtmsem05/init.c,
	psxtmsleep01/init.c, psxtmsleep02/init.c, psxtmthread03/init.c:
	Use benchmark_timer_t for benchmark_timer values (Avoid 64bit
	arch issues).
2011-10-19 15:27:27 +00:00
Joel Sherrill
f5ab0885ee 2011-08-04 Ricardo Aguirre <el.mastin@ymail.com>
* psxtmrwlock01/init.c, psxtmrwlock01/psxtmrwlock01.doc: Update.
2011-08-04 15:06:45 +00:00
Joel Sherrill
8fffe77b52 2011-08-02 Ricardo Aguirre <el.mastin@ymail.com>
PR 1874/tests
	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of
	multiple pthread_rwlock operations that can be done as single shot
	times.
	* psxtmrwlock01/.cvsignore, psxtmrwlock01/Makefile.am,
	psxtmrwlock01/init.c, psxtmrwlock01/psxtmrwlock01.doc: New files.
2011-08-02 13:23:33 +00:00