Commit Graph

5036 Commits

Author SHA1 Message Date
Joel Sherrill
194d9ca5d2 testsuites/tmtests/*/*.py: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Joel Sherrill
04b6c51e01 testsuites/tmtests/ remainder: Change license to BSD-2
+ include
    + tmck
    + tmfine01
    + tmonetoone
    + tmtimer01

Updates #3053.
2022-04-12 13:35:39 -05:00
Joel Sherrill
2c1d928fdc testsuites/tmtests/tm[23]*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Joel Sherrill
ef9df16afa testsuites/rmtests/tm[01]*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
e19e650f31 testsuites/benchmarks/*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
2c292f3ff9 testsuites/ada/mptests/*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
b6656a0078 testsuites/ada/tmtests/tmck: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
2bf4acfc50 testsuites/ada/tmtests/tm2*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
61ac3ab09c testsuites/ada/tmtests/tm0*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
37426caa67 testsuites/ada/tmtests/tm1*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
20cec598c6 testsuites/ada/sptests/spatcb01, spname01: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
a767a2bacb testsuites/ada/sptests/sp2*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
3d8f2a55a5 testsuites/ada/sptests/sp1*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
2df35d7e4d testsuites/ada/sptests/sp0*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
28052b744b testsuites/ada/samples/*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Joel Sherrill
8d5eb7eba5 testsuites/ada/support/*: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:38 -05:00
Sebastian Huber
873e7dab34 validation: Avoid double fatal error
In the SMP_FATAL_MULTITASKING_START_ON_NOT_ONLINE_PROCESSOR test case,
the boot processor ends up in the idle body.  Do not issue a fatal error
here and instead enter the idle loop.  The secondary processor will
terminate the system.
2022-04-12 08:37:54 +02:00
Sebastian Huber
ba36e4a236 validation: Allow custom idle task body 2022-04-12 08:37:54 +02:00
Joel Sherrill
74e532f1f6 testsuites/smptests/*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
e2ffe959c5 testsuites/fstests/*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
acceb478ec testsuites/libtests/[p-z]*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
1ef07d4620 testsuites/libtests/[d-o]*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
366711fcfa testsuites/libtests/dl*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
85cc173d6e testsuites/libtests/[a-c]*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
b331f409a8 testsuites/tmtests/*: Change license to BSD-2
Updates #3053.
2022-04-07 08:38:56 -05:00
Joel Sherrill
42d4ebe1a5 testsuites/mptests/*: Change license to BSD-2.
Updates #3053.
2022-04-07 08:38:56 -05:00
Christian Mauderer
43119193ef imfs: Fix index underrun when extending empty file
Currently the following sequence causes a endless loop when extending an
IMFS file:

- Create a file with zero length and close it.
- Make sure nearly no allocatable memory is left.
- Open the file and write enough data into it that more than the
  remaining memory will be used.

In that case when extending the IMFS file, the file currently need zero
blocks. If allocating enough new blocks fails, the already allocated new
blocks will be freed again.

The comparison of block>=old_blocks that has been used prior to this
patch compared two unsigned numbers. If old_blocks was zero, the
comparison of these two numbers always evaluated to true.

This patch frees the last block in a separate step to avoid this
problem.

Fixes #4639
2022-04-07 10:37:23 +02:00
Sebastian Huber
c1a6e6275b unit: Test red-black trees 2022-04-06 09:38:09 +02:00
Sebastian Huber
7ca6eeee79 unit: Add test for misaligned builtin memcpy() 2022-04-06 09:38:09 +02:00
Sebastian Huber
95e3ade435 unit: Add a unit test suite 2022-04-06 09:38:09 +02:00
Joel Sherrill
4160547a24 sp0*/*.doc: Remove junk UTF-8 character 2022-04-05 13:14:14 -05:00
Joel Sherrill
3ed59872de testsuites/sptests/sp[i-z]*/*.doc: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Joel Sherrill
df6a7e0a1d testsuites/sptests/sp[a-h]*/*.doc: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Joel Sherrill
ce8d47be72 testsuites/sptests/sp[0-7]*/*.doc: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Joel Sherrill
d865c65efe testsuites/sptests/sp[s-z]*: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Joel Sherrill
0473b2b36a testsuites/sptests/sp[g-r]*: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Joel Sherrill
e7d46b738c testsuites/sptests/sp[a-f*]*: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Joel Sherrill
c50bb51b19 testsuites/sptests/sp[4-7]*: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Joel Sherrill
d987a57be4 testsuites/sptests/sp[2-3]*: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Joel Sherrill
eb579662e4 testsuites/sptests/sp1*: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Joel Sherrill
725101151c testsuites/sptests/sp0*: Change license to BSD-2
Updates #3053.
2022-04-05 13:14:14 -05:00
Matt Joyce
ea4d756672 newlib01: Added tests for exit procedures
Added tests for exit procedures to ensure proper resource
cleanup. The test now checks cleanup for files assigned
to stdio streams and non-stdio streams.
2022-03-31 17:19:39 +02:00
Sebastian Huber
9f9f1408a1 rtems: Clarify scheduler of created task 2022-03-29 17:19:42 +02:00
Sebastian Huber
c2d7376f06 validation: Use individual names for ident tests
Make the task configuration reusable.

Update #3716.
2022-03-29 17:19:42 +02:00
Joel Sherrill
c9625a21ac testsuites/: Update Eric Norum contact info and normalize file headers 2022-03-24 10:01:51 -05:00
Sebastian Huber
10d1de250a validation: Clarify comment 2022-03-24 11:20:26 +01:00
Sebastian Huber
36615183d6 smp: Add fatal error
Add SMP-specifc SMP_FATAL_MULTITASKING_START_ON_NOT_ONLINE_PROCESSOR
fatal error.  This fatal error helps to diagnose a broken SMP startup
sequence.  Without this error a context switch using the NULL pointer
for the thread control block happens which may be difficult to debug.
2022-03-24 11:10:49 +01:00
Sebastian Huber
14de245d05 validation: Test support functions
The test source code is generated from specification items
by the "./spec2modules.py" script contained in the
git://git.rtems.org/rtems-central.git Git repository.

Please read the "How-To" section in the "Software Requirements Engineering"
chapter of the RTEMS Software Engineering manual to get more information about
the process.

Update #3716.
2022-03-24 11:10:49 +01:00
Sebastian Huber
ab2c04a86f validation: Test thread implementation
The test source code is generated from specification items
by the "./spec2modules.py" script contained in the
git://git.rtems.org/rtems-central.git Git repository.

Please read the "How-To" section in the "Software Requirements Engineering"
chapter of the RTEMS Software Engineering manual to get more information about
the process.

Update #3716.
2022-03-24 11:10:49 +01:00
Sebastian Huber
4a8f4b7202 validation: Test SMP-specific aspects
The test source code is generated from specification items
by the "./spec2modules.py" script contained in the
git://git.rtems.org/rtems-central.git Git repository.

Please read the "How-To" section in the "Software Requirements Engineering"
chapter of the RTEMS Software Engineering manual to get more information about
the process.

Update #3716.
2022-03-24 11:10:49 +01:00