Commit Graph
1552 Commits
Author SHA1 Message Date
Joel Sherrill f132a3d8dd 2008-08-19 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1296/cpukit.
	* psxtimer01/psxtimer.c, psxtimer01/psxtimer01.scn: POSIX timers use
	incorrect repeat interval. This patch fixes the following problems in
	the test.
	  (1) Adds test for value of it_interval.tv_nsec.
	  (2) Corrects test for absolute timer in past.
	  (3) Modifies test to use different initial and repeat periods.
	  (4) Updates psxtimer01.scn to match results.
2008-08-19 14:46:52 +00:00
Joel Sherrill 4f6bb5b01f 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c: Fix derefence of uninitialized pointer.
2008-08-15 16:33:22 +00:00
Joel Sherrill d95b992a2c 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1297/cpukit
	* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Fix NULL attribute
	pointer handling.
2008-08-15 16:30:01 +00:00
Joel Sherrill 02d989c0ef 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Make _System_state_Is_multiprocessing unused when
	multiprocessing is not enabled. Saves one more variable from single
	processor configuration.
2008-08-07 18:23:54 +00:00
Joel Sherrill cccd632c8d 2008-08-05 Xudong Guan <xudong.guan@criticalsoftware.com>
PR 1212/cpukit
	* Makefile.am, configure.ac: Time slicing will not happen if the task
	mode is changed from a non-timeslicing mode to timeslicing mode if it
	is done by the executing thread (e.g. in its task body). This change
	includes sp44 to demonstrate the problem and verify the correction.
	* sp44/.cvsignore, sp44/Makefile.am, sp44/init.c, sp44/sp44.scn: New files.
2008-08-05 13:10:26 +00:00
Joel Sherrill ce7803fe45 2008-08-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsem01/init.c: Spacing.
2008-08-04 16:13:10 +00:00
Joel Sherrill decb0759ad 2008-08-04 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1293/tests
	* psx10/init.c: Make sure we do not let tv_nsec go to -1.
2008-08-04 14:39:45 +00:00
Joel Sherrill f5119be40a 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1291/cpukit
	* psx05/init.c, psxmsgq01/init.c: As part of addressing timeouts and
	POSIX services taking relative instead of absolute time for timeouts,
	these tests were updated.
2008-07-18 18:47:30 +00:00
Joel Sherrill 05480bb8be 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c: truncate on /dev/console now works.
2008-07-17 21:23:19 +00:00
Joel Sherrill ffb9eeb5ce 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen09.c: Do not use Simple Vectored Interrupt calls on
	architectures they are not supported on.
2008-07-17 21:22:29 +00:00
Joel Sherrill 72cb077f39 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: New argument sequence for rtems_shell_init(). Also
	split on multiple lines and document each parameter.
2008-07-16 17:08:41 +00:00
Joel Sherrill 03b655aaee 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/init.c, sp43/sp43.scn: Add call to rtems_get_version_string().
2008-07-16 16:48:51 +00:00
Ralf Corsepius e03da1549c 2008-07-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-07-02 02:19:22 +00:00
Ralf Corsepius 4647167ae3 Require AC_DISABLE_OPTION_CHECKING. AC_PREREQ(2.62). 2008-07-02 02:19:10 +00:00
Ralf Corsepius 86ad26ace2 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp36/strict_order_mut.c: Reflect __STRICT_ORDER_MUTEX__ having
	  been renamed into __RTEMS_STRICT_ORDER_MUTEX__.
2008-06-30 15:08:08 +00:00
Joel Sherrill 42b1fe6ed7 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Disable confdefs.h debug.
2008-06-17 21:10:25 +00:00
Joel Sherrill bbfe59b4fd 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* iostream/system.h: Init task was close to blowing stack on PowerPC.
	* minimum/init.c: Disable Classic API Notepads.
2008-06-17 18:50:30 +00:00
Joel Sherrill 1bdf29debf 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems++/System.h: Account for extra task stacks properly.
2008-06-17 18:49:37 +00:00
Joel Sherrill f5f519bdaf 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxrwlock01/main.c, psxspin01/main.c: Now accounts for extra stack
	requested for initialization task.
2008-06-17 15:28:05 +00:00
Joel Sherrill f02ada817b 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Add CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
	CONFIGURE_MAXIMUM_PRIORITY. Workspace usage now reduces to 4696 bytes
	on psim.
2008-06-13 22:13:44 +00:00
Joel Sherrill 2156876d0e 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Exerise new ability for application to configure
	minimum stack size. This test still runs the same with a 7.5K stack
	on the powerpc but reserves 15K less Workspace on the PowerPC.
2008-06-13 15:08:40 +00:00
Joel Sherrill 8c444f9a7b 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* tm02/system.h, tm10/system.h: Make configurations more accurate.
2008-06-05 14:24:28 +00:00
Joel Sherrill 86db88d270 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c: Corrections to configuration.
	* sp37/init.c: Correctly invoke rtems_interrupt_disable() body.
	* spsize/size.c: _ISR_Vector_table only exists on architectures
	which use the Simple Vectored Interrupt Model.
2008-06-05 14:23:57 +00:00
Joel Sherrill 5fe0640223 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* minimum/Makefile.am: Link against all managers.
	* minimum/init.c: Use existing confdefs.h macros to turn off more
	this test does not use.
2008-06-05 14:21:38 +00:00
Joel Sherrill d0941512ac 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Convention calls for leading underscore on private
	RTEMS variables.
2008-06-02 16:12:13 +00:00
Joel Sherrill 1b2dd27879 2008-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* itronhello/system.h, itronmbox01/system.h, itrontask02/system.h,
	itrontime01/system.h: Add use of
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER.
2008-05-21 22:15:20 +00:00
Joel Sherrill 1700430839 2008-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxstat/psxstat.scn, psxstat/test.c: Eliminate patterns that look
	like CVS conflict markers.
2008-05-15 16:34:01 +00:00
Joel Sherrill cb3873f952 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* tmoverhd/dumrtems.h: Refactored and renamed initialization routines
	to rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:44:34 +00:00
Joel Sherrill c199cf899b 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal/fatal.c, spfatal06/testcase.h, spfatal07/testcase.h,
	spfatal08/testcase.h, spfatal09/testcase.h, spfatal10/testcase.h:
	Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:44:30 +00:00
Joel Sherrill ac9d3cf84d 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp32/init.c: Formatting.
2008-05-07 21:57:43 +00:00
Joel Sherrill b091cde316 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* iostream/system.h: Update to include definition of
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER as appropriate.
2008-04-23 21:52:13 +00:00
Joel Sherrill 8ae91559e3 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxchroot01/main.c, psxmount/main.c, psxreaddir/main.c: Use
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER where needed.
2008-04-17 22:47:02 +00:00
Joel Sherrill a645637b72 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, hello/system.h, minimum/init.c, unlimited/system.h:
	Use CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER where needed.
2008-04-17 22:46:15 +00:00
Joel Sherrill 265d499a99 2008-02-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* iostream/init.cc: Add include of stdlib.h for exit(). Needed by gcc
	4.3.x.
2008-02-28 16:44:13 +00:00
Joel Sherrill 991efb611c 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix return status check.
2008-02-27 21:50:05 +00:00
Joel Sherrill 5afa393ed5 2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c: Correct test.
	* sp09/screen14.c: Update copyright.
	* sp28/init.c: Correct end of test messages.
2008-02-22 19:35:14 +00:00
Joel Sherrill 3f4dce3152 2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq02/init.c, psxsignal01/init.c: Corrent end of test messages.
2008-02-22 19:34:14 +00:00
Ralf Corsepius 72896de584 s/AC_HELP/AS_HELP/. 2008-02-20 13:09:29 +00:00
Ralf Corsepius 7bb36b05d0 2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/enable-rtemsbsp.m4: s/AC_HELP/AS_HELP/.
2008-02-20 13:07:51 +00:00
Joel Sherrill 78b4e2eb43 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxkey01/task.c: Fix warnings.
2008-02-07 00:04:10 +00:00
Joel Sherrill 19cbe60326 2008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxkey01/.cvsignore, psxmsgq02/.cvsignore: New files.
2008-02-05 15:44:28 +00:00
Jennifer Averett ccc4203563 2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>
* support/include/test_support.h, support/src/test_support.c: New files.
2008-02-04 19:40:33 +00:00
Jennifer Averett f8d39b8dcd 2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac, psxmsgq01/Makefile.am, psxmsgq01/init.c:
	Added tests for failure path coverages. Consolidated methods used in
	multiple places into support routines.
	* psxkey01/Makefile.am, psxkey01/init.c, psxkey01/psxkey01.scn,
	psxkey01/system.h, psxkey01/task.c, psxmsgq02/Makefile.am,
	psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn, psxmsgq02/system.h: New files.
2008-02-04 19:39:43 +00:00
Joel Sherrill 60735a304c 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/init.c, sp43/sp43.scn: Exercise passing as object Id of SELF.
2008-02-04 17:16:56 +00:00
Joel Sherrill d5a36d3b18 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/tmacros.h: Change TEST_INIT to CONFIGURE_INIT. Make
	tmacros.h available to all POSIX tests. Add a clock_settime case for
	< 1988.
2008-02-01 00:45:20 +00:00
Joel Sherrill d1128e26a3 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
	tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
	tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
	tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c,
	tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c,
	tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c,
	tmoverhd/testtask.c: Change TEST_INIT to CONFIGURE_INIT. Make
	tmacros.h available to all POSIX tests. Add a clock_settime case for
	< 1988.
2008-02-01 00:45:16 +00:00
Joel Sherrill 8efea242fe 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* tmitronsem01/init.c: Change TEST_INIT to CONFIGURE_INIT. Make
	tmacros.h available to all POSIX tests. Add a clock_settime case for
	< 1988.
2008-02-01 00:45:13 +00:00
Joel Sherrill 2186ba8064 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/init.c, sp02/init.c, sp03/init.c, sp04/init.c, sp05/init.c,
	sp06/init.c, sp07/init.c, sp08/init.c, sp09/init.c, sp11/init.c,
	sp12/init.c, sp13/init.c, sp14/init.c, sp15/init.c, sp16/init.c,
	sp17/init.c, sp19/init.c, sp20/init.c, sp21/init.c, sp22/init.c,
	sp23/init.c, sp24/init.c, sp25/init.c, sp26/init.c, sp28/init.c,
	sp30/init.c, sp31/init.c, sp32/init.c, sp33/init.c, sp37/init.c,
	sp38/init.c, sp39/init.c, sp40/init.c, sp41/init.c, sp43/init.c,
	spfatal/init.c, spfatal_support/init.c, spsize/init.c: Change
	TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all POSIX
	tests. Add a clock_settime case for < 1988.
2008-02-01 00:45:11 +00:00
Joel Sherrill 66c348cb12 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/pmacros.h, psx01/init.c, psx01/system.h, psx13/main.c,
	psxbarrier01/main.c, psxchroot01/main.c, psxfatal_support/init.c,
	psxfile01/main.c, psxfile01/test.c, psxmount/main.c, psxrdwrv/main.c,
	psxreaddir/main.c, psxrwlock01/main.c, psxspin01/main.c,
	psxstat/main.c, psxtime/main.c: Change TEST_INIT to CONFIGURE_INIT.
	Make tmacros.h available to all POSIX tests. Add a clock_settime case
	for < 1988.
2008-02-01 00:45:08 +00:00
Joel Sherrill 81fed4b75c 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* mp01/init.c, mp02/init.c, mp03/init.c, mp04/init.c, mp05/init.c,
	mp06/init.c, mp07/init.c, mp08/init.c, mp09/init.c, mp10/init.c,
	mp11/init.c, mp12/init.c, mp13/init.c, mp14/init.c: Change TEST_INIT
	to CONFIGURE_INIT. Make tmacros.h available to all POSIX tests. Add a
	clock_settime case for < 1988.
2008-02-01 00:45:06 +00:00