Commit Graph
1459 Commits
Author SHA1 Message Date
Joel Sherrill 4e4f06bbbe 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical06/init.c: Test now hits forward and reverse cases.
2009-07-23 16:12:53 +00:00
Joel Sherrill 73dfaf83a1 2009-07-23 Santosh G Vattam <vattam.santosh@gmail.com>
* psxcancel/Makefile.am, psxcancel/init.c, psxcancel/psxcancel.scn: Add
	multiple cases which complete coverage of thread cancellation.
	* psxcancel/psxcancel.doc: New file.
2009-07-23 13:29:49 +00:00
Joel Sherrill 2d730043c0 2009-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical09/init.c, spintrcritical09/spintrcritical09.scn: Make
	test work for case that it is documented to handle.
2009-07-22 21:46:56 +00:00
Joel Sherrill 17e3808dd5 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsem01/Makefile.am, psxsem01/init.c: Much clean up.
	* psxsem01/system.h: Removed.
2009-07-22 15:37:54 +00:00
Joel Sherrill 7e9765df6e 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsem01/init.c: Eliminate warning.
2009-07-22 15:21:13 +00:00
Joel Sherrill 381a53a801 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcancel/init.c: Clean up.
2009-07-22 14:00:09 +00:00
Joel Sherrill 7fbe4fa1bf 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical10/.cvsignore, spintrcritical10/Makefile.am,
	spintrcritical10/init.c, spintrcritical10/spintrcritical10.doc,
	spintrcritical10/spintrcritical10.scn: New files.
2009-07-21 23:06:46 +00:00
Joel Sherrill 75a5abaf4a 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp39/init.c, sp39/sp39.scn: Move
	unreliable third case in sp39 to spintrcritical10. New tests to hit
	other event synchronization critical sections.
	* spintrcritical11/.cvsignore, spintrcritical11/Makefile.am,
	spintrcritical11/init.c, spintrcritical11/spintrcritical11.doc,
	spintrcritical11/spintrcritical11.scn, spintrcritical12/.cvsignore,
	spintrcritical12/Makefile.am, spintrcritical12/spintrcritical12.doc,
	spintrcritical12/spintrcritical12.scn: New files.
2009-07-21 23:06:13 +00:00
Joel Sherrill bd894e5447 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise Debug Manager.
	* sp10/.cvsignore, sp10/Makefile.am, sp10/init.c, sp10/sp10.doc,
	sp10/sp10.scn: New files.
2009-07-21 19:32:30 +00:00
Joel Sherrill 99fbb6080c 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical06/init.c: Clean up.
	* spintrcritical09/init.c: Adjust clock tick so it works on erc32.
	* spintrcritical09/spintrcritical09.scn: Fill in.
2009-07-21 18:26:27 +00:00
Joel Sherrill 56864ffc17 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmutexattr01/init.c: Make test optional if tools do not support
	posix mutex type attribute.
2009-07-21 17:25:46 +00:00
Joel Sherrill bbebcd2c0d 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* spintrcritical06/init.c: Add comment to indicate test is not finished
	and known to not hit the case.
	* Makefile.am, configure.ac: Add a couple more interrupt critical
	section tests.
	* spintrcritical08/.cvsignore, spintrcritical08/Makefile.am,
	spintrcritical08/init.c, spintrcritical08/spintrcritical08.doc,
	spintrcritical08/spintrcritical08.scn, spintrcritical09/.cvsignore,
	spintrcritical09/Makefile.am, spintrcritical09/init.c,
	spintrcritical09/spintrcritical09.doc,
	spintrcritical09/spintrcritical09.scn: New files.
2009-07-21 15:16:57 +00:00
Joel Sherrill 14d3ad4fcf 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise error case for
	when a task is blocked on a condition variable with one mutex and
	another task attempts to block on the same condition variable with
	another mutex.
	* psxcond01/.cvsignore, psxcond01/Makefile.am, psxcond01/init.c,
	psxcond01/psxcond01.doc, psxcond01/psxcond01.scn: New files.
2009-07-21 15:07:26 +00:00
Joel Sherrill ceb3cb3b6c 2009-07-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spintrcritical06/init.c: Add first attempt
	at hitting interrupt synchronization critical section in thread queue
	enqueue priority for reverse insertions.
	* spintrcritical07/.cvsignore, spintrcritical07/Makefile.am,
	spintrcritical07/spintrcritical07.doc,
	spintrcritical07/spintrcritical07.scn: New files.
2009-07-20 18:38:28 +00:00
Joel Sherrill eecd655794 2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for the
	_Thread_queue_Enqueue_priority interrupt critical section where the
	TCB we are using as a current pointer is removed from the thread
	queue when we flash interrupts while searching forward.
	* spintrcritical06/.cvsignore, spintrcritical06/Makefile.am,
	spintrcritical06/init.c, spintrcritical06/spintrcritical06.doc,
	spintrcritical06/spintrcritical06.scn: New files.
2009-07-20 14:49:25 +00:00
Joel Sherrill 260e09260a 2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical_support/intrcritical.c,
	spintrcritical_support/intrcritical.h: Change prototype of delay
	method to indicate when counter is reset. This can be used to count
	how many iterations we are doing.
2009-07-20 14:48:14 +00:00
Joel Sherrill 1938cc07df 2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add psxspin02 to exercise case where
	trylock is unable to obtain the spinlock and that attempting to
	unlock a spinlock from a thread which did not lock it works as
	expected.
	* psxspin02/.cvsignore, psxspin02/Makefile.am, psxspin02/main.c,
	psxspin02/psxspin02.doc, psxspin02/psxspin02.scn, psxspin02/test.c:
	New files.
2009-07-20 01:12:25 +00:00
Joel Sherrill 7c6375bbdb 2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxspin01/test.c: Remove unnecessary defines.
2009-07-20 01:09:40 +00:00
Joel Sherrill 3d36b370dd 2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx11/init.c: Use explicit scheduler.
2009-07-20 01:05:59 +00:00
Joel Sherrill f691e0a09f 2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add sp60 to exercise case where a task is
	blocked on one period while another expires. Add sp61 which exercises
	the case where a call is made to rtems_shutdown_executive when the
	system is not up.
	* sp60/.cvsignore, sp60/Makefile.am, sp60/init.c, sp60/sp60.doc,
	sp60/sp60.scn, sp61/.cvsignore, sp61/Makefile.am, sp61/init.c,
	sp61/sp61.doc, sp61/sp61.scn: New files.
2009-07-20 01:05:33 +00:00
Joel Sherrill f3ea48abbc *** empty log message *** 2009-07-20 01:02:17 +00:00
Joel Sherrill ac970794a4 2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp04/init.c: To be timesliced, tasks must also me preemptible.
2009-07-20 01:01:34 +00:00
Joel Sherrill 5d6e8c88fb 2009-07-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test to exercise
	pthread_mutexattr_gettype and pthread_mutexattr_settype now that the
	toolset enables the feature.
	* psxmutexattr01/.cvsignore, psxmutexattr01/Makefile.am,
	psxmutexattr01/init.c, psxmutexattr01/psxmutexattr01.doc,
	psxmutexattr01/psxmutexattr01.scn: New files.
2009-07-17 16:17:14 +00:00
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