Commit Graph

230 Commits

Author SHA1 Message Date
Joel Sherrill
7ae7cf76af 2001-04-26 Joel Sherrill <joel@OARcorp.com>
* psxmsgq01/init.c: Reflect changes made to address PR81 that
	reworked POSIX message queues to add a descriptor separate from
	the underlying message queue.  This allows non-blocking to follow
	the "open" not the underlying queue.
2002-04-26 23:41:02 +00:00
Joel Sherrill
cb9b2bfcaa 2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
2002-04-16 13:53:23 +00:00
Joel Sherrill
8dc526ef91 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx01/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx02/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx03/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx04/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx05/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx06/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx07/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx08/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx09/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx10/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx11/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx12/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psx13/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxcancel/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxchroot01/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxfile01/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxhdrs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxmount/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxmsgq01/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxreaddir/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxsem01/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxstat/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxtime/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* psxtimer/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:44:18 +00:00
Joel Sherrill
f2278a8585 2001-11-07 Jennifer Averett <jennifer@OARcorp.com>
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR63.
	* psxstat/test.c: Fix test ENOTDIR to correspond to chdir() change.
	Since we check permissions before evaluating enough to see if it
	a regular file or directory, this hack is needed to make the regular
	file executable.
2001-11-07 23:57:59 +00:00
Joel Sherrill
d7aecdc8f8 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
2001-10-12 18:47:00 +00:00
Joel Sherrill
df25c9989b 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-11 19:36:23 +00:00
Joel Sherrill
869fa3c275 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* psxtests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
2001-09-24 18:28:02 +00:00
Joel Sherrill
929efa6b85 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* psx01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx11/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxcancel/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx02/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx13/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxtime/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxchroot01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx07/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxmsgq01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxtimer/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx10/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx08/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxhdrs/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxfile01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx05/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx09/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxmount/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxstat/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx12/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxreaddir/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxsem01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx03/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx04/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx06/Makefile.am: include leaf.am instead of leaf.cfg.
2001-09-19 17:21:08 +00:00
Joel Sherrill
4f088aee00 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>
* psxchroot01/.cvsignore, psxchroot01/Makefile.am, psxchroot01/main.c,
	psxchroot01/psxchroot01.scn, psxchroot01/test.c:  Implemented the
	psxchroot01 test.
2001-08-09 22:02:20 +00:00
Joel Sherrill
6287b5773f 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* Added once version of psxchroot01 test for user review.
	* psxchroot01: New directory.
	* psxchroot01/Makefile.am, psxchroot01/main.c, psxchroot01/test.c,
	psxchroot01/psxchroot01.scn, psxchroot01/.cvsignore: New files.
	* configure.in, Makefile.am: Modified to reflect above.
2001-05-25 13:29:38 +00:00
Joel Sherrill
95083c0db9 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
2001-05-10 13:38:37 +00:00
Joel Sherrill
b2a1ea3a52 2001-04-24 Joel Sherrill <joel@OARcorp.com>
* psxfile01/test.c, psxfile01/psxfile01.scn : Added test case for
	open, write, reopen, append twice from Andrew Bythell
	<abythell@nortelnetworks.com> that tripped an initialization
	problem in the IMFS.
2001-04-24 23:04:59 +00:00
Joel Sherrill
1fbd283c2b 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* psx04/init.c, psx04/psx04.scn, psx07/init.c, psx07/psx07.scn,
	psxfile01/psxfile01.scn, psxmsgq01/psxmsgq01.scn,
	psxreaddir/test.c, psxstat/psxstat.scn, psxstat/test.c,
	psxtime/psxtime.scn, psxtimer/psxtimer.scn:
	Various adjustments so test output matches screens more reliably.
2001-04-20 13:50:54 +00:00
Joel Sherrill
4a80bf2bb1 2001-01-25 Joel Sherrill <joel@OARcorp.com>
* psx01/psx01.scn: Corrected to reflect clock_getres() now working.
2001-01-25 15:52:19 +00:00
Jennifer Averett
c9fcb34015 2000-11-17 Jennifer Averett <jennifer@OARcorp.com>
* psxstat/test.c, psxstat/psxstat.scn: Forced inode numbers
	to remain consistant across platforms and bsps by forcing
	a mount point in front of all paths.

2000-11-17	Jennifer Averret <jennifer@OARcorp.com>

	* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
	expected error condition in one case.
	* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
	readdir() of root of mounted filesystem.  Also corrected the screen
	file for some mistakes noticed in this effort.
2000-11-20 14:34:17 +00:00
Jennifer Averett
ee95538746 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
	expected error condition in one case.
	* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
	readdir() of root of mounted filesystem.  Also corrected the screen
	file for some mistakes noticed in this effort.
2000-11-20 13:58:55 +00:00
Jennifer Averett
2e3ce06b7f 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
	expected error condition in one case.
	* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
	readdir() of root of mounted filesystem.  Also corrected the screen
	file for some mistakes noticed in this effort.
2000-11-17 21:29:31 +00:00
Jennifer Averett
1e566bbb1c 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* psxmount/test.c, psxmount/psxmount.scn: Improve output to report
	expected error condition in one case.
	* psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise
	readdir() of root of mounted filesystem.  Also corrected the screen
	file for some mistakes noticed in this effort.
2000-11-17 19:06:40 +00:00
Joel Sherrill
c34ac29529 2000-11-13 Joel Sherrill <joel@OARcorp.com>
* psxmount/psxmount.scn, psxmount/test.c: Correct spelling.
2000-11-15 21:41:04 +00:00
Joel Sherrill
feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill
a314d3b497 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-02 15:49:06 +00:00
Joel Sherrill
4d2ba828ef 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* psxtests.am: Remove DEFS.
2000-10-27 13:32:14 +00:00
Joel Sherrill
0bbc89df41 2000-10-24 Joel Sherrill <joel@OARcorp.com>
* psxmount/test.c, psxstat/test.c: Include <imfs.h> to get IMFS_ops.
	It was formerly incorrectly prototyped in <libio.h>.
2000-10-25 16:52:28 +00:00
Joel Sherrill
021eeaa21c 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* psx01/Makefile.am, psx02/Makefile.am, psx03/Makefile.am,
	psx04/Makefile.am, psx05/Makefile.am, psx06/Makefile.am,
	psx07/Makefile.am, psx08/Makefile.am, psx09/Makefile.am,
	psx10/Makefile.am, psx11/Makefile.am, psx12/Makefile.am,
	psx13/Makefile.am, psxcancel/Makefile.am, psxfile01/Makefile.am,
	psxhdrs/Makefile.am, psxmount/Makefile.am, psxmsgq01/Makefile.am,
	psxreaddir/Makefile.am, psxsem01/Makefile.am, psxstat/Makefile.am,
	psxtime/Makefile.am, psxtimer/Makefile.am: Include compile.am
2000-09-05 16:06:28 +00:00
Joel Sherrill
977fc497f2 2000-08-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* psx01/Makefile.am, psx02/Makefile.am, psx03/Makefile.am,
	psx04/Makefile.am, psx05/Makefile.am, psx06/Makefile.am,
	psx07/Makefile.am, psx08/Makefile.am, psx09/Makefile.am,
	psx10/Makefile.am, psx11/Makefile.am, psx11/Makefile.am,
	psx12/Makefile.am, psxcancel/Makefile.am, psxmsgq01/Makefile.am,
	psxsem01/Makefile.am, psxsem01/Makefile.am, psxtimer/Makefile.am:
	Use AM_CPPFLAGS += instead of AM_CPPFLAGS =
2000-09-01 07:05:02 +00:00
Joel Sherrill
e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill
b8a30d07a5 Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch:

  Changes:
  * Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
    - Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and
      cpuopts.h.
    - Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE
      (aclocal/rtems-test-no-pause.m4).
    - Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins
      and tmtests/configure.in. These are the only subdirectories which
      currently apply RTEMS_TEST_NO_PAUSE.
    - Add autoconf-DEFS support to all test subpackages' configure.ins
      below tests/. I.e. AC_DEFINES now get explicitly propagated as
      preprocessor defines into Makefiles, cf. AM_CPPFLAGS in
      tests/*/*.am, instead of using a global config-files.
    - Remove NDEBUG from custom/*.cfg.

  * AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in
    exec/configure.in, only.
    - All other sources now should relay on the values from cpuopts.h
      and should not define them themselves.
    - Several related changes to many configure.ins

  * Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to
    quoting bugs in autoconf).

  Notes:
    * This patch is rather immature and only tested for a small subset
      of BSPs (requires the tests to be enabled and therefore takes an
      tremendous amount of disc space and time.)
    * The patches to *cfg were generated by a script. Expect file
      formating changes :)
2000-07-13 15:05:38 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill
8fbdf07b62 Patch rtems-rc-20000118-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains cosmetical changes to the Makefile.ams below tests (removes
old, now invalid comments from these Makefile.ams).
2000-01-31 15:22:23 +00:00
Joel Sherrill
f8e2a94792 Updated to reflect final test output. 2000-01-14 19:26:23 +00:00
Joel Sherrill
ff70333657 Updated screen to reflect final test output. 2000-01-14 19:26:05 +00:00
Joel Sherrill
49fa9bc005 Fixed warnings. 2000-01-13 22:08:29 +00:00
Joel Sherrill
11944b9bc3 POSIX message queues now include complete functionality including
blocking sends when the queue is full.  The SuperCore was enhanced
to support blocking on send.  The existing POSIX API was debugged
and numerous test cases were added to psxmsgq01 by Jennifer Averett.
SuperCore enhancements and resulting modifications to other APIs
were done by Joel.

There is one significant point of interpretation for the POSIX API.
What happens to threads already blocked on a message queue when the
mode of that same message queue is changed from blocking to non-blocking?
We decided to unblock all waiting tasks with an EAGAIN error just
as if a non-blocking version of the same operation had returned
unsatisfied.  This case is not discussed in the POSIX standard and
other implementations may have chosen differently.
2000-01-13 19:32:50 +00:00
Joel Sherrill
85d62357bb Changed error checking macros for POSIX. 2000-01-13 19:26:38 +00:00
Joel Sherrill
53fb837afc POSIX message queues now include complete functionality including
blocking sends when the queue is full.  The SuperCore was enhanced
to support blocking on send.  The existing POSIX API was debugged
and numerous test cases were added to psxmsgq01 by Jennifer Averett.
SuperCore enhancements and resulting modifications to other APIs
were done by Joel.

There is one significant point of interpretation for the POSIX API.
What happens to threads already blocked on a message queue when the
mode of that same message queue is changed from blocking to non-blocking?
We decided to unblock all waiting tasks with an EAGAIN error just
as if a non-blocking version of the same operation had returned
unsatisfied.  This case is not discussed in the POSIX standard and
other implementations may have chosen differently.
2000-01-13 19:25:15 +00:00
Joel Sherrill
e0c01614d9 This test was enhanced to test for the case in sigtimedwait() where it
must deal with a pending process oriented signal.  Prior to the addition
of this testcase, sigtimedwait() did not return properly when a process
oriented signal was pending.  The problem was reported by Wayne
Bullaughey <wayneb@cacdsp.com>.
2000-01-11 15:43:00 +00:00
Joel Sherrill
5283cc823d Updated to reflect a time that had previously been left out due to
an array sizing coding error.
2000-01-05 22:15:47 +00:00
Joel Sherrill
27f096634a Screen updated since test runs. 2000-01-05 22:15:16 +00:00
Joel Sherrill
54a5ee75d4 Corrected so header message is printed. 2000-01-05 20:51:45 +00:00
Jennifer Averett
99e7ab890b + Added tests for open, close, unlink, and send. 2000-01-05 17:21:12 +00:00
Joel Sherrill
bfded728ec Fixed warnings. 2000-01-04 14:16:00 +00:00
Jennifer Averett
6eb3e68012 + Tests added for mq_open, mq_close, and mq_unlink 1999-12-23 22:12:15 +00:00
Joel Sherrill
e906798937 Corrected order of output. 1999-12-13 14:50:09 +00:00
Joel Sherrill
4090ebe85c Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:25:00 +00:00
Joel Sherrill
e492f910f2 Jennifer added initial test code. Conditional'ed out until she has
the opportunity to work with it.
1999-12-02 17:34:50 +00:00
Joel Sherrill
a1bcc6e944 Moved pmacros.h to include not support/include. 1999-11-23 14:20:41 +00:00
Joel Sherrill
9f4868cea9 Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
1999-11-23 13:57:02 +00:00
Joel Sherrill
fd170023c5 Added clock06.c to the compile list. 1999-11-23 13:45:45 +00:00
Joel Sherrill
a23cad6aa0 Files only used by psxfile01, so moved there. 1999-11-23 13:43:34 +00:00