Commit Graph
1552 Commits
Author SHA1 Message Date
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 c005d41297 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxmsgq04/init.c, psxmsgq04/psxmsgq04.scn: Tinker with test to ensure
	that it hits both failing to allocate memory for the message queue
	name and message buffers.
2009-08-06 19:24:38 +00:00
Joel Sherrill 0d214a7c29 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxintrcritical01/init.c: Lower microseconds per tick so tests run
	quicker and more reliably hit the intended critical section.
2009-08-06 19:24:12 +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 cba16514b6 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/buffer_test_io.h: Use printk on AVR by default.
2009-08-06 15:39:09 +00:00
Joel Sherrill cac975ed5e 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspcmdline01/bspcmdline01.scn, bspcmdline01/init.c: Add rtems_ as
	prefix to all routines.
2009-08-06 15:21:25 +00:00
Joel Sherrill abc4af35f8 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp63/init.c: Add new test for exercising
	when we are unable to allocate the memory needed for an object
	extend. Make sure all is handled properly.
	* sp64/.cvsignore, sp64/Makefile.am, sp64/init.c, sp64/sp64.doc,
	sp64/sp64.scn: New files.
2009-08-05 20:58:17 +00:00
Joel Sherrill 7c86172aba 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for new BSP Boot Command Line
	helper routines.
	* bspcmdline01/.cvsignore, bspcmdline01/Makefile.am,
	bspcmdline01/bspcmdline01.doc, bspcmdline01/bspcmdline01.scn,
	bspcmdline01/init.c, bspcmdline01/test.c: New files.
2009-08-05 19:36:57 +00:00
Joel Sherrill b053cab093 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add a test to exercise an odd case in
	_POSIX_signals_Clear_signals.
	* psxsignal05/.cvsignore, psxsignal05/Makefile.am, psxsignal05/init.c,
	psxsignal05/psxsignal05.doc, psxsignal05/psxsignal05.scn: New files.
2009-08-05 18:13:29 +00:00
Joel Sherrill 7d89924051 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c: Correct typo in configuration so test does as
	intended.
2009-08-05 16:43:54 +00:00
Joel Sherrill 236839e208 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c, psxmsgq04/psxmsgq04.doc, psxmsgq04/psxmsgq04.scn:
	Update to handle ENFILE case now that POSIX message queues and
	message queue file descriptors are configured separately and this
	error is possible.
2009-08-05 16:33:36 +00:00
Joel Sherrill 6605d4dc99 2009-08-05 Santosh G Vattam <vattam.santosh@gmail.com>
* Makefile.am, psxmsgq04/init.c, psxmsgq04/psxmsgq04.doc,
	psxmsgq04/psxmsgq04.scn: Exercise running out of memory while
	allocating the message buffers for a POSIX message queue.
2009-08-05 15:21:43 +00:00
Joel Sherrill 307b6b9cc4 2009-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsignal03/init.c, psxsignal03/psxsignal03.scn,
	psxsignal04/psxsignal04.scn: Correct test numbers in macros so output
	is right. Update both screens.
2009-08-02 15:00:05 +00:00
Joel Sherrill 70a66ca5d3 2009-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, psxsignal03/Makefile.am,
	psxsignal03/init.c, psxsignal03/psxsignal03.doc: Add new test
	variation which focused on real-time signals rather than user
	signals.
	* psxsignal04/.cvsignore, psxsignal04/Makefile.am,
	psxsignal04/psxsignal04.doc, psxsignal04/psxsignal04.scn: New files.
2009-08-02 14:41:46 +00:00
Joel Sherrill c9c05a02e5 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx07/init.c, psx07/psx07.scn, psx07/task.c: Add test for budget and
	replenish period of zero.
2009-08-01 21:47:09 +00:00
Joel Sherrill e89cf10620 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp63/init.c: Correct test case two.
2009-08-01 15:34:53 +00:00
Joel Sherrill fa4c10cbd9 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp63/init.c, sp63/sp63.scn: Move into subroutines and add a second
	test case to exercise another odd branch not taken.
2009-08-01 14:40:37 +00:00
Joel Sherrill ba23ff5e36 2009-07-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, sp62/init.c: Add new test to ensure a
	particular path is taken through the _Heap_Resize_block code.
	* sp63/.cvsignore, sp63/Makefile.am, sp63/init.c, sp63/sp63.doc,
	sp63/sp63.scn: New files.
2009-08-01 00:25:20 +00:00
Joel Sherrill 64bad68bc8 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to account for properly
	handling keys when a thread has non-NULL key value and key has NULL
	destructor and when a thread has NULL key value and key has
	destructor.
	* psxkey03/.cvsignore, psxkey03/Makefile.am, psxkey03/init.c,
	psxkey03/psxkey03.doc, psxkey03/psxkey03.scn: New files.
2009-07-30 20:21:41 +00:00
Joel Sherrill 3e5a9e5176 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test for exercising running out of
	memory while allocating the key pointers.
	* psxkey02/.cvsignore, psxkey02/Makefile.am, psxkey02/init.c,
	psxkey02/psxkey02.doc, psxkey02/psxkey02.scn: New files.
2009-07-30 18:48:56 +00:00
Joel Sherrill 7e260d67ad 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp42/Makefile.am, sp42/init.c, sp42/sp42.scn: Test was testing the
	wrong thing in a cpp macro. Added contents to screen file and add
	documentation file.
	* sp42/sp42.doc: New file.
2009-07-30 17:10:04 +00:00
Joel Sherrill b1b6beb0e3 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical16/spintrcritical16.doc: Remove junk and typos.
2009-07-30 14:52:40 +00:00
Joel Sherrill 095105ad20 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical16/init.c: Tinker with test to make it hit the case
	more reliably.
2009-07-30 14:52:15 +00:00
Joel Sherrill 8b40e27c0c 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise as many cases as
	possible of not being able to allocate memory from the workspace
	during thread creation.
	* sp18/.cvsignore, sp18/Makefile.am, sp18/init.c, sp18/sp18.doc,
	sp18/sp18.scn: New files.
2009-07-30 00:15:59 +00:00
Joel Sherrill 0376d08fa7 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c: Add call to mq_unlink.
2009-07-29 20:27:27 +00:00
Joel Sherrill 330e858cc2 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add shell of new test.
	* psxmsgq04/.cvsignore, psxmsgq04/Makefile.am, psxmsgq04/init.c,
	psxmsgq04/psxmsgq04.doc, psxmsgq04/psxmsgq04.scn: New files.
2009-07-29 20:15:33 +00:00
Joel Sherrill 2ad8f85825 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test to address cases where a thread
	is waiting on a signal (sigwait) and we send it. Also address case
	where there are too many queued signals.
	* psxsignal03/.cvsignore, psxsignal03/Makefile.am, psxsignal03/init.c,
	psxsignal03/psxsignal03.doc, psxsignal03/psxsignal03.scn: New files.
2009-07-29 18:31:20 +00:00
Joel Sherrill a2b8140290 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsignal02/init.c: Fix spacing.
2009-07-29 18:30:45 +00:00
Joel Sherrill d2861a11a0 2009-07-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to handle the case where
	a region resize frees enough memory to unblock a task.
	* sp62/.cvsignore, sp62/Makefile.am, sp62/init.c, sp62/sp62.doc,
	sp62/sp62.scn: New files.
	* sp61/init.c: Test does not need regions.
2009-07-28 23:49:47 +00:00
Joel Sherrill 5353469af4 2009-07-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for processing a timeout
	on a thread (that is the thread executing) that has also had its
	request satisfied while it is being enqueued.
	* spintrcritical16/.cvsignore, spintrcritical16/Makefile.am,
	spintrcritical16/init.c, spintrcritical16/spintrcritical16.doc,
	spintrcritical16/spintrcritical16.scn: New files.
	* spintrcritical15/init.c: Remove unused TSR>
2009-07-28 19:23:49 +00:00
Joel Sherrill 5d8b8eb1f5 2009-07-28 Santosh G Vattam <vattam.santosh@gmail.com>
* psxmsgq01/init.c, psxmsgq01/psxmsgq01.scn: Add tests for various
	mq_timedreceive and mq_timedsend conditions. In particular test
	timeout in the past.
2009-07-28 13:46:03 +00:00
Joel Sherrill 42d57c7ac6 2009-07-28 Santosh G Vattam <vattam.santosh@gmail.com>
* psx05/init.c, psx05/psx05.scn: Add test for pthread_mutex_timedlock
	with timeout in the past.
2009-07-28 13:44:58 +00:00
Joel Sherrill 33692dd004 2009-07-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for a thread timing out on a
	thread queue while another thread is in the process of blocking on
	the same thread queue.
	* spintrcritical15/.cvsignore, spintrcritical15/Makefile.am,
	spintrcritical15/init.c, spintrcritical15/spintrcritical15.doc,
	spintrcritical15/spintrcritical15.scn: New files.
2009-07-27 22:04:19 +00:00
Joel Sherrill 5d6d1a116a 2009-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: spintrcritical15 not ready yet.
2009-07-25 12:57:14 +00:00
Joel Sherrill 7467542e85 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, sp40/Makefile.am, sp40/init.c,
	sp40/sp40.scn: Now verified to hit coverage cases.
	* sp40/sp40.doc: New file.
2009-07-25 01:39:45 +00:00
Joel Sherrill 96b8762610 2009-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp40/Makefile.am, sp40/init.c, sp40/sp40.scn: Attempt to write test
	to catch two remaining uncovered cases in rtems_io_register_driver.
	* sp40/system.h: Removed.
2009-07-25 01:31:07 +00:00
Joel Sherrill eecb54552d 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise odd case in
	rtems_iterate_over_all_threads.
	* sp41/.cvsignore, sp41/Makefile.am, sp41/init.c, sp41/sp41.doc,
	sp41/sp41.scn: New files.
2009-07-24 20:43:06 +00:00
Joel Sherrill b4f7353712 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsignal02/psxsignal02.scn: Fill in screen file.
2009-07-24 20:37:04 +00:00
Joel Sherrill a3e4a589d5 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to exercise algorithm to
	dispatch process wide signals to individual threads.
	* psxsignal02/.cvsignore, psxsignal02/Makefile.am, psxsignal02/init.c,
	psxsignal02/psxsignal02.doc, psxsignal02/psxsignal02.scn: New files.
2009-07-24 19:18:20 +00:00
Joel Sherrill 6ffde61c4c 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test to exercise interrupt
	synchronization logic in _POSIX_Timer_Insert_helper that supports
	POSIX timers.
	* psxintrcritical01/.cvsignore, psxintrcritical01/Makefile.am,
	psxintrcritical01/init.c, psxintrcritical01/psxintrcritical01.doc,
	psxintrcritical01/psxintrcritical01.scn: New files.
2009-07-23 20:30:01 +00:00
Joel Sherrill 2c0d7929bc 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp36/strict_order_mut.c: Simple binary semaphores cannot have an
	inheritance protocol since there is no holder associated with them.
2009-07-23 19:05:11 +00:00
Joel Sherrill d541ba8cc6 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new tests to exercise cases where a
	timer is scheduled from an ISR while it is being scheduled at the
	task level.
	* spintrcritical13/.cvsignore, spintrcritical13/Makefile.am,
	spintrcritical13/init.c, spintrcritical13/spintrcritical13.doc,
	spintrcritical13/spintrcritical13.scn, spintrcritical14/.cvsignore,
	spintrcritical14/Makefile.am, spintrcritical14/spintrcritical14.doc,
	spintrcritical14/spintrcritical14.scn: New files.
2009-07-23 18:54:23 +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 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