Commit Graph
1552 Commits
Author SHA1 Message Date
Joel Sherrill 3e7a0fd4e3 Added test case for broadcast to queue with messages pending. 2000-01-13 19:27:33 +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
Jennifer Averett 0724b658a7 Added start and end herald. 2000-01-13 17:01:35 +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 89703c313a Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to make sure
RTEMS_TM27 is defined before the bsp.h is included.
2000-01-10 18:16:22 +00:00
Joel Sherrill 98c875a15b Initialize the attributes structure. Random data was causing the test
to fail sporadically.
2000-01-06 22:44:27 +00:00
Joel Sherrill bd177b7bea Fixed comment. 2000-01-06 15:20:53 +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 4bcbf89c16 Was not actually installing the test. 2000-01-05 22:14:42 +00:00
Joel Sherrill fc20c5398b Increased stack space. 2000-01-05 22:09:36 +00:00
Joel Sherrill f49aaf18b8 Updated to reflect change in object class numbering due to ITRON API
addition.
2000-01-05 22:06:30 +00:00
Joel Sherrill 280c4ca921 Corrected test and screen to reflect implementation working. 2000-01-05 22:03:44 +00:00
Joel Sherrill 5cffd6406b Changed screen to reflect change in object class numbers with ITRON
addition.
2000-01-05 22:03:27 +00:00
Joel Sherrill 54a5ee75d4 Corrected so header message is printed. 2000-01-05 20:51:45 +00:00
Joel Sherrill f388d36d84 Now print strings -- not error numbers. 2000-01-05 18:17:01 +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
Joel Sherrill 36155ebb04 Removed warning. 2000-01-04 14:03:38 +00:00
Joel Sherrill db94167039 Added define to trip items that are private to tm27 in bsp.h. 2000-01-03 14:14:24 +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 9ba1f0a79e Patch rtems-rc-19991203-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which  ontains all what was left over from the other patches (Primarily
minor configuration cleanups).

    To apply:
        patch -p1 < rtems-rc-19991203-9.diff
        ./bootstrap
1999-12-21 15:04:48 +00:00
Joel Sherrill 369ef189b2 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does minor cleanup  for Makefile.ams below mptests, which only
removes some bogus comments from the Makefile.ams.

To apply:
  patch -p1 < rtems-rc-19991203-8.diff
  ./bootstrap
1999-12-21 15:00:49 +00:00
Joel Sherrill 3ad7602ef2 Modifications to avoid having the size of the Buffer_addresses array
too small when OPERATION_COUNT is less than 10.
1999-12-20 15:21:31 +00:00
Joel Sherrill 7d91d722ba First attempt at adding simple binary semaphore in addition to the current
"mutex" and counting semaphore.  This is at the request of Eric Norum
and his EPICS porting effort.
1999-12-13 15:29:20 +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 116e54ad16 Uncommitted remains of a previous patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which converted fiels to automake.
1999-11-30 14:03:29 +00:00
Joel Sherrill 1d9a2fc5ab Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.

    SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
    (apparently a leftover from moving the start* directories)

    Addtional major bugs:
    * psxtests/include was empty (incomplete psxtests changes).
    * bogus handling of *.scn in itrontests (screens/sptests vs.
      screens/itrontests installation dirs)

    In addition I have added a few more changes (I couldn't resist)
    * automake support for itrontests
    * OPERATION_COUNT support in tmitrontests/
    * automake support for tmitrontests
    * automake suppport for mptests
    * Some (minor) corrections to several configure.in/Makefile.ams

    => c/src/tests/ is completly under automake control, now.
    => we could start to sort out the structural issues with c/src/tests
      (tests/support, stubdr, tools, get "make dist" working)
1999-11-29 15:45:11 +00:00
Joel Sherrill c4ea5efc61 Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.
1999-11-24 14:19:26 +00:00
Joel Sherrill a1bcc6e944 Moved pmacros.h to include not support/include. 1999-11-23 14:20:41 +00:00
Joel Sherrill 23e3f642e4 Missed in previous automake conversion patches from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-11-23 14:10:05 +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
Joel Sherrill 4b9cc0aef1 Test psxfile02 unused and removed. 1999-11-23 13:41:18 +00:00
Joel Sherrill c94eb25b5c Patch rtems-rc-19991117-14.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the psxtests directory from Makefile.in to Makefile.am.
1999-11-23 13:39:29 +00:00
Joel Sherrill 4c285524e4 Patch rtems-rc-19991117-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
1999-11-23 13:36:18 +00:00
Joel Sherrill e5a76ee505 Patch rtems-rc-19991117-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
1999-11-23 13:35:45 +00:00
Joel Sherrill 6e9ad6ced3 Patch rtems-rc-19991117-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the tmtests directory from Makefile.in to Makefile.am.
1999-11-23 13:32:07 +00:00
Joel Sherrill de759c54f5 Patch rtems-rc-19991117-8.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to fix some minor bugs in the conversion to automake.
1999-11-22 19:23:10 +00:00
Joel Sherrill e31c63e5a8 Patch rtems-rc-19991117-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the sample tests to automake.
1999-11-22 19:21:38 +00:00
Joel Sherrill 5fe4a10911 Converted to automake. 1999-11-22 19:08:23 +00:00
Joel Sherrill b8cda5a65b Added ifndef around build_time so pmacros.h and tmacros.h could be included
by the same application.
1999-11-22 19:02:35 +00:00
Jennifer Averett 24f6608c94 + Corrected error messages.
+ Added tests for sem_open, sem_close, and sem_unlink.
+ Yellow lined sem_open, sem_close, sem_unlink,
  _POSIX_Semaphore_Delete, _POSIX_Semaphore_Name_to_id,
  and _POSIX_Semaphore_Create_support. Except for MP, pshared
  OBJECT_REMOTE, and out of memory paths.
1999-11-22 16:05:09 +00:00
Joel Sherrill 650526857e Added ifndef around build_time macro so tmacros.h and pmacros.h
can be included from the same file.
1999-11-22 14:28:19 +00:00
Joel Sherrill 9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Jennifer Averett 8c5cc6b250 Added test code for named semaphores and moved to use of directive_failed
family of macros to produce better checks and diagnostic messages.
1999-11-18 19:51:13 +00:00