Files
rtems/testsuites
Frank Kühndel 7bbbe4225c clock:_TOD_To_seconds(): Fix year 2514 overflow
This patch fixes issue #4338 by changing _TOD_Validate()
to only accept years till 2105. This requires another patch
to change the documentation of rtems_clock_set() and other
affected API functions (indicating the end date is 2105 not 2514).

I tried to support till year 2514 but it turned out that
this needs changing the Timer Manager too. That in turn
would mean to change _TOD_Seconds_since_epoch( void )
from 32 to 64 bit. Sebastian pointed out that a naive extension
leads to trouble with 32 bit processors. He deemed a safe
re-implementation too costly performance wise considering
that year 2106 is far away and current binaries using RTEMS
Classic API are unlikely to be in use by 2106.

The constant TOD_SECONDS_AT_2100_03_01_00_00 in
cpukit/rtems/src/clocktodtoseconds.c happens to be wrong by
1 hour. When setting the date 2100-Feb-28 23:59:59 and then
reading the date again you will find yourself in 2100-Feb-27.

Update #4338
2021-04-21 07:13:31 +02:00
..
2020-06-30 09:19:08 +02:00
2019-03-27 07:21:31 +01:00
2021-03-26 14:25:38 +01:00
2020-06-23 10:34:57 +02:00
2018-10-10 07:57:47 +02:00

This is the directory under which the RTEMS
test programs provided with the release are located.  The
following is a description of the contents of each file and
subdirectory directly in this directory:

NOTE: Other than the 'samples' directory these tests are intended
      only to exercise RTEMS features and are *not* good examples
      of programming for RTEMS.

    samples

       This directory contains a set of simple sample applications
       which can be used either to test a board support package
       or as the starting point for a custom application.

    mptests

       This directory contains the RTEMS Multiprocessor Test Suite.
       The tests in this directory provide near complete (98%+) test
       coverage of the multiprocessor specific code in RTEMS.

    psxtests

       This directory contains the RTEMS POSIX API Test Suite.
       The tests in this directory test the POSIX API support in RTEMS.

    sptests

       This directory contains the RTEMS Single Processor Test Suite.
       The tests in this directory provide near complete (98%+) test
       coverage of the non-multiprocessor code in RTEMS.

    tmtests

       This directory contains the RTEMS Timing Test Suite.
       The tests in this directory are used to measure the execution
       time of RTEMS directive and some critical internal functions.
       The results of these test are reported in the Fact Sheets
       and Supplental Manuals.