Commit Graph

1436 Commits

Author SHA1 Message Date
Joel Sherrill
13a4c71cc4 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for auto initialization of
	message queues.
	* psxautoinit02/.cvsignore, psxautoinit02/Makefile.am,
	psxautoinit02/init.c, psxautoinit02/psxautoinit02.doc,
	psxautoinit02/psxautoinit02.scn: New files.
2009-07-16 15:00:44 +00:00
Joel Sherrill
1c5d8f4949 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* spfatal03/spfatal03.scn, spfatal03/testcase.h: Fix spfatal03 to do
	what it was intended to do.
2009-07-16 14:57:36 +00:00
Joel Sherrill
0c196a192b 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical_support/intrcritical.c,
	spintrcritical_support/intrcritical.h: New files.
2009-07-10 20:31:17 +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
Joel Sherrill
0f46e321b4 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp41/init.c: Remove incorrect comment.
2009-07-10 20:21:02 +00:00
Joel Sherrill
7f8dd5758e 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp29/init.c: Simple binary semaphores can not be inherit priority.
2009-07-09 21:29:47 +00:00
Joel Sherrill
f5b5ef8881 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp25/init.c: Spacing.
2009-07-09 20:25:18 +00:00
Joel Sherrill
8f9b2f6026 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add sp59 to test path through
	_Thread_queue_First_priority where the task's priority was in the
	bottom 1/4 of the range.
	* sp59/.cvsignore, sp59/Makefile.am, sp59/init.c, sp59/sp59.doc,
	sp59/sp59.scn: New files.
2009-07-09 20:23:38 +00:00
Joel Sherrill
ab8c4ee27f 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test for Thread Queue extract a thread
	not blocked on a thread queue.
	* spthreadq01/.cvsignore, spthreadq01/Makefile.am, spthreadq01/init.c,
	spthreadq01/spthreadq01.doc, spthreadq01/spthreadq01.scn: New files.
2009-07-09 19:02:41 +00:00
Joel Sherrill
d5ae827a35 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test for timespec divide by zero.
	* sp58/.cvsignore, sp58/Makefile.am, sp58/init.c, sp58/sp58.doc,
	sp58/sp58.scn: New files.
2009-07-09 18:21:58 +00:00
Joel Sherrill
0c5a8be8b2 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c, sp43/sp43.scn: Add test of having the object class
	pointer being null. This does not happen naturally at this time so
	force the point.
2009-07-09 16:58:04 +00:00
Joel Sherrill
66abaa1e20 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/malloctest.scn: Add heap resize test
	for shrinking a block enough to need to free the newly unused
	portion.
2009-07-09 16:13:06 +00:00
Joel Sherrill
299fc7ac56 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp12/sp12.scn: Update screen to reflect priority changes from long
	ago.
2009-07-08 22:17:50 +00:00
Joel Sherrill
a5e620e89d 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp27/Makefile.am, sp27/init.c,
	sp27/sp27.doc, sp27/sp27.scn: Rework sp27 so it can be reinstantiated
	as sp27a and test flushing both counting and binary semaphores.
	Reformatted.
	* sp27a/.cvsignore, sp27a/Makefile.am, sp27a/sp27a.doc,
	sp27a/sp27a.scn: New files.
2009-07-08 20:26:45 +00:00
Joel Sherrill
2962c9931a 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* spstkalloc/Makefile.am: Remove unneeded USE_TIMER_SERVER which was
	copied fomr other Makefile.am's.
2009-07-08 20:26:01 +00:00
Joel Sherrill
f034ac0758 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp51/init.c, sp54/Makefile.am, sp55/Makefile.am, sp56/Makefile.am,
	sp57/Makefile.am, spchain/Makefile.am, spfatal10/Makefile.am,
	spfatal11/Makefile.am, spfatal12/Makefile.am: Remove unneeded
	USE_TIMER_SERVER which was copied fomr other Makefile.am's.
2009-07-08 20:25:30 +00:00
Joel Sherrill
4b6c378fab 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/malloctest.scn: Add error cases for
	_Protected_heap_Get_information().
2009-07-08 19:15:04 +00:00
Joel Sherrill
7b0f182a25 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp57/sp57.doc: Correct.
2009-07-08 18:50:19 +00:00
Joel Sherrill
02819318cd 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test of restarting a task which is in
	the middle of a sleep or wake after.
	* sp57/.cvsignore, sp57/Makefile.am, sp57/init.c, sp57/sp57.doc,
	sp57/sp57.scn: New files.
2009-07-08 18:49:15 +00:00
Joel Sherrill
67d6947e7f 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c, sp43/sp43.scn: Add more cases for
	rtems_object_get_class_information() to improve coverage.
2009-07-08 17:54:37 +00:00
Joel Sherrill
12bb21e3b5 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to verify that when a user
	extension create hook fails, that the error is properly propagated.
	* sp56/.cvsignore, sp56/Makefile.am, sp56/init.c, sp56/sp56.doc,
	sp56/sp56.scn: New files.
2009-07-07 20:39:14 +00:00
Joel Sherrill
2204f52043 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp04/sp04.doc, sp04/sp04.scn, sp04/task1.c: Add test of
	rtems_extension_delete.
2009-07-07 20:38:17 +00:00
Joel Sherrill
6afc8dde54 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen01.c, sp09/sp09.scn: Add test for
	rtems_object_get_classic_name with invalid id.
2009-07-07 19:39:12 +00:00
Joel Sherrill
0dbc0c3322 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp02/task1.c: Minor spacing.
2009-07-07 19:36:53 +00:00
Joel Sherrill
9a845e175b 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test of pthread mutex auto
	intialization.
	* psxautoinit01/.cvsignore, psxautoinit01/Makefile.am,
	psxautoinit01/init.c, psxautoinit01/psxautoinit01.scn: New files.
2009-07-07 14:30:12 +00:00
Joel Sherrill
824b3d1c90 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx05/init.c, psx05/psx05.scn: Add a couple of invalid Id cases.
2009-07-06 22:01:58 +00:00
Joel Sherrill
9847e4b478 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal12/init.c: Address to heap initialize must be aligned but size
	must be too small.
2009-07-06 21:05:03 +00:00
Joel Sherrill
147c5d512f 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsignal01/init.c: Tune code to really hit POSIX signal from ISR
	code.
2009-07-06 21:03:05 +00:00
Joel Sherrill
69ca55c088 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx07/init.c: Slight test fix to ensure state of sched_param
	structure.
2009-07-06 17:58:44 +00:00
Joel Sherrill
630a2a68ea 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise case when
	broadcasting to a message queue with a pending message.
	* sp55/.cvsignore, sp55/Makefile.am, sp55/init.c, sp55/sp55.doc,
	sp55/sp55.scn: New files.
2009-07-06 17:10:39 +00:00
Joel Sherrill
70a4809f84 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Remove obsolete test now that the numbered
	spfatal tests appear to cover all fatal error cases.
	* spfatal/.cvsignore, spfatal/Makefile.am, spfatal/README,
	spfatal/fatal.c, spfatal/init.c, spfatal/puterr.c,
	spfatal/spfatal.doc, spfatal/spfatal.scn, spfatal/system.h,
	spfatal/task1.c: Removed.
2009-07-06 13:44:22 +00:00
Joel Sherrill
cf7267cfc2 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spfatal11/init.c: Add test of cannot
	initialize workspace heap during initialize. Can be caused by
	unaligned address or not enough memory to initialize heap required
	overhead.
	* spfatal12/.cvsignore, spfatal12/Makefile.am, spfatal12/init.c,
	spfatal12/spfatal12.doc, spfatal12/spfatal12.scn: New files.
2009-07-06 13:43:17 +00:00
Joel Sherrill
c6dc6db074 2009-07-04 Santosh G Vattam <vattam.santosh@gmail.com>
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
	obtaining an rwlock and then releasing it twice.
2009-07-04 20:26:18 +00:00
Joel Sherrill
4a105192af 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxenosys/init.c, psxenosys/psxenosys.scn: Add test of vfork stub.
2009-07-03 20:08:22 +00:00
Joel Sherrill
78e285976c 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp54/init.c, sp54/sp54.doc: Add test for Workspace zeroed.
2009-07-03 19:43:57 +00:00
Joel Sherrill
2819bd17b2 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx04/init.c, psx04/psx04.scn: Test error cases in sigwait() and
	sigtimedwait(). Update screen file.
2009-07-03 18:39:11 +00:00
Joel Sherrill
c5d412c18c 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp54/init.c, sp54/sp54.doc: Fix typos and comments.
2009-07-03 15:56:01 +00:00
Joel Sherrill
9c34c023ec 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* spstkalloc/spstkalloc.scn: Update screen.
2009-07-02 15:41:28 +00:00
Joel Sherrill
62e6e7cdad 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test for user configured stack
	allocator/deallocator. Test both pass and fail cases.
	* spstkalloc/.cvsignore, spstkalloc/Makefile.am, spstkalloc/init.c,
	spstkalloc/spstkalloc.doc, spstkalloc/spstkalloc.scn: New files.
2009-07-02 15:25:36 +00:00
Joel Sherrill
84b7a96833 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* spchain/init.c, spchain/spchain.scn: Clean up test.
2009-07-02 15:24:37 +00:00
Joel Sherrill
37cff02c38 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to cover bodies of some chain
	routines whose bodies are not used by RTEMS itself.
	* spchain/.cvsignore, spchain/Makefile.am, spchain/init.c,
	spchain/spchain.doc, spchain/spchain.scn: New files.
2009-07-01 19:49:08 +00:00
Joel Sherrill
605b6eb746 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* spwatchdog/init.c, spwatchdog/spwatchdog.scn: Add test case of empty
	chain for coverage.
2009-07-01 19:31:53 +00:00
Joel Sherrill
c7b38baf37 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/sp01.doc, sp01/task1.c, sp16/sp16.doc, sp16/task5.c: Bypass
	RTEMS_MILLISECONDS_TO_TICKS and RTEMS_MICROSECONDS_TO_TICKS to
	improve coverage.
2009-07-01 19:23:58 +00:00
Joel Sherrill
e5d3dd6ee0 2009-07-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/task1.c: Use RTEMS_MILLISECONDS_TO_TICKS to improve coverage.
2009-07-01 18:40:39 +00:00
Joel Sherrill
f9ff8cea68 2009-07-01 Santosh G Vattam <vattam.santosh@gmail.com>
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
	obtaining rwlock for write with a timed lock operation when the
	abstime timeout is in the past.
2009-07-01 16:15:21 +00:00
Joel Sherrill
94ccbb7b3d 2009-06-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
	obtaining rwlock for read with a timed lock operation when the
	abstime timeout is in the past.
2009-06-30 17:50:15 +00:00
Joel Sherrill
85e525aab8 2009-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c, psx05/psx05.scn: Add test case for process scope now
	that the assert has been removed in the source.
2009-06-29 23:23:23 +00:00
Joel Sherrill
40b905ccf8 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/init.c,
	spfatal10/spfatal10.doc, spfatal10/spfatal10.scn: New files.
2009-06-24 22:02:11 +00:00
Joel Sherrill
046f47154f 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spprintk/init.c, spprintk/spprintk.scn:
	Enhance spprintk. Add two new fatal error tests to cover
	__assert_func.
	* spfatal11/.cvsignore, spfatal11/Makefile.am, spfatal11/init.c,
	spfatal11/spfatal11.doc, spfatal11/spfatal11.scn: New files.
2009-06-24 06:35:29 +00:00
Joel Sherrill
cbbc55ef71 2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxstat/psxstat.scn, psxstat/test.c: Disable test for error on wrong
	mode bits being set. This behavior was not POSIX compliant and has
	been corrected in the filesystem code.
2009-06-18 16:19:53 +00:00