Commit Graph

14 Commits

Author SHA1 Message Date
Sebastian Huber
8028089000 tests: Rework interrupt critical tests
This avoids test durations of more than one hour on fast targets, since
fast targets can count a lot during one clock tick period, so the minor
loop iteration count was quite high.  Estimate now the test body
duration to iterate only through the interesting time window.

Add and use interrupt_critical_section_test().
2014-09-10 07:12:55 +02:00
Sebastian Huber
6c0301daad tests/sptests: Use <rtems/test.h> 2014-03-25 08:06:21 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
2bbea657ae rtems: Create semaphore implementation header
Move implementation specific parts of sem.h and sem.inl into new header
file semimpl.h.  The sem.h contains now only the application visible
API.
2013-07-18 09:58:56 +02:00
Joel Sherrill
3c8eda77b9 sptests - Eliminate missing prototype warnings 2012-05-31 10:06:16 -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
Sebastian Huber
8650ba2751 2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spintrcritical01/init.c: Fixed warning fix.
2011-05-20 14:07:52 +00:00
Joel Sherrill
c0d7e23ce9 2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen12.c, sp09/sp09.scn, sp21/Makefile.am, sp35/priinv.c,
	sp39/init.c, sp50/init.c, sp57/init.c, sp72/init.c, sp73/init.c,
	spintrcritical01/init.c, spprivenv01/init.c, spsimplesched01/init.c,
	spsimplesched02/init.c: Remove warnings.
2011-05-05 16:45:57 +00:00
Ralf Corsepius
7d3f9c646a Add HAVE_CONFIG_H. 2011-02-22 07:37:03 +00:00
Ralf Corsepius
b1274bd94c Whitespace removal. 2009-11-30 03:33:25 +00:00
Joel Sherrill
8d4434eb6d 2009-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c: Use 1 millisecond
	per tick.
2009-08-11 18:49:59 +00:00
Joel Sherrill
ee8512aae4 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c,
	spintrcritical08/init.c, spintrcritical13/init.c: Lower microseconds
	per tick so tests run quicker and more reliably hit the intended
	critical section.
2009-08-06 19:23:38 +00:00
Joel Sherrill
75fed1b941 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c,
	spintrcritical08/init.c, spintrcritical09/init.c: Perform some
	cleanup and make the tests more similar.
2009-07-23 18:04:53 +00:00
Joel Sherrill
937a22a7cf 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new infrastructure which is more
	reliable about generating cases which hit interrupt critical
	sections. Remove sp41 since it used its own mechanism.
	* spintrcritical01/.cvsignore, spintrcritical01/Makefile.am,
	spintrcritical01/init.c, spintrcritical01/spintrcritical01.doc,
	spintrcritical01/spintrcritical01.scn, spintrcritical02/.cvsignore,
	spintrcritical02/Makefile.am, spintrcritical02/spintrcritical02.doc,
	spintrcritical02/spintrcritical02.scn, spintrcritical03/.cvsignore,
	spintrcritical03/Makefile.am, spintrcritical03/spintrcritical03.doc,
	spintrcritical03/spintrcritical03.scn, spintrcritical04/.cvsignore,
	spintrcritical04/Makefile.am, spintrcritical04/spintrcritical04.doc,
	spintrcritical04/spintrcritical04.scn, spintrcritical05/.cvsignore,
	spintrcritical05/Makefile.am, spintrcritical05/spintrcritical05.doc,
	spintrcritical05/spintrcritical05.scn: New files.
	* sp41/.cvsignore, sp41/Makefile.am, sp41/init.c, sp41/sp41.scn,
	sp41/system.h: Removed.
2009-07-10 20:28:10 +00:00