summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* validation: rtems_task_construct() errorsSebastian Huber2020-09-171-0/+2367
| | | | | | | This is the first test case generated from a specification item in the rtems-central repository. Update #3959.
* validation: Add general purpose test suiteSebastian Huber2020-09-171-0/+222
| | | | | | | | | Add a general purpose test suite for validation tests. This is the first test suite generated from a specification item in the rtems-central repository. Update #3959.
* rtems: Add rtems_task_construct()Sebastian Huber2020-09-173-10/+18
| | | | | | | | | | | | | | | | | In contrast to rtems_task_create() this function constructs a task with a user-provided task storage area. The new directive uses a configuration structure instead of individual parameters. Add RTEMS_TASK_STORAGE_SIZE() to calculate the recommended size of a task storage area based on the task attributes and the size dedicated to the task stack and thread-local storage. This macro may allow future extensions without breaking the API. Add application configuration option CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE to adjust RTEMS Workspace size estimate. Update #3959.
* CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZESebastian Huber2020-09-174-2/+84
| | | | | | | | | | | Add this application configuration option. This configuration option can be used to reserve space for the dynamic linking of modules with thread-local storage objects. Add RTEMS_TASK_STORAGE_ALIGNMENT to define the minium alignment of a thread-local storage size. Update #4074.
* irqs01/smpirqs01: New testsSebastian Huber2020-09-144-0/+525
| | | | Close #4034.
* build: Alternative build system based on wafSebastian Huber2020-09-1425-0/+558
| | | | Update #3818.
* Remove tmoverhd which existed to produce the obsolete coverhd.hJoel Sherrill2020-09-1117-4638/+0
| | | | Closes #4040.
* spintrcritical08: Increase clock tick intervalSebastian Huber2020-09-101-1/+1
| | | | | On some simulators, a clock tick interval of 1ms seems to be too short. For example, the test failed on sparc/erc32 using the SIS.
* score: Add <rtems/score/freechainimpl.h>Sebastian Huber2020-08-311-1/+1
| | | | | | Hide implementation details. Update #3959.
* rtems: Add _RTEMS_Name_to_id()Sebastian Huber2020-08-311-2/+2
| | | | | | | | | | Simplify object name to identifier directives. Using _RTEMS_Name_to_id() to implement the directives enables a tail call optimization. Change license to BSD-2-Clause according to file history. Update #3053.
* spintrcritical22: Use right thread wait flagsSebastian Huber2020-08-211-1/+1
|
* spintrcritical16: Use right thread wait flagsSebastian Huber2020-08-211-1/+1
|
* mp03: Include missing header fileSebastian Huber2020-08-211-0/+2
|
* spintrcritical23: Fix unused variable warningsSebastian Huber2020-08-201-2/+2
|
* sp37: Fix unused variable warningsSebastian Huber2020-08-201-0/+2
|
* psxkey01: Fix configurationAschref Ben Thabet2020-08-201-1/+1
| | | | | | | Key_ID array must have the right size, it shall have a value greater than zero. Note: In Standard C and C++, zero-size array is not allowed..
* libtest: Add T_push_plan() and T_pop_plan()Sebastian Huber2020-08-182-2/+23
| | | | Update #3199.
* libtest: Change T_step() and T_assert_step()Sebastian Huber2020-08-183-12/+12
| | | | | | | | | | | Normally, the expected test step must be a compile time constant. Allow variable expected test steps for the T_step() and T_assert_step(). This can be used for parameterized test loops with individual fixtures. Remove the ability to use custom failure messages due to some implementation constraints. Update #3199.
* libtest: Add fixture stepsSebastian Huber2020-08-183-21/+22
| | | | | | Support a new test plan for each nested fixture. Update #3199.
* libtest: Change fixture scope methodSebastian Huber2020-08-181-4/+4
| | | | | | | Return the produced character count. There is no need for a NUL termination. Update #3199.
* spintrcritical23: Restore runner prioritySebastian Huber2020-08-111-0/+8
|
* libtests/dl10: Delete unused functionsAschref Ben Thabet2020-08-111-22/+0
|
* libtest: Add T_thread_switch_record()Sebastian Huber2020-08-111-0/+66
| | | | | | | | Add support to record thread switch events. This can be used to check that a blocking operation results in the expected sequence of thread switches. Update #3199.
* libtest: Fix T_interrupt_test() in SMP configsSebastian Huber2020-08-061-0/+54
| | | | Update #3199.
* psxhdrs/strncpy/stpncpy: Fix string turncation warningAschref Ben Thabet2020-08-052-8/+6
| | | | | | Since we need to test the strncpy function, using a character array with a fixed array size in this case in place of character pointer can avoid the string turncation warning.
* smpschededf02: Document reset() functionSebastian Huber2020-08-041-1/+13
|
* psxhdrs/strncat: Fix string truncation warningAschref Ben Thabet2020-07-301-1/+1
|
* spmisc01: Include missing header fileSebastian Huber2020-07-241-0/+2
| | | | Update #4032.
* score: Add RTEMS_WEAKSebastian Huber2020-07-244-1/+108
| | | | Update #4032.
* spintrcritical_support: RemoveSebastian Huber2020-07-232-224/+0
| | | | This test support was replaced by T_interrupt_test() is no longer used.
* spintrcritical24: Use T_interrupt_test()Sebastian Huber2020-07-233-39/+119
|
* spintrcritical23: Use T_interrupt_test()Sebastian Huber2020-07-233-44/+88
|
* spintrcritical22: Use T_interrupt_test()Sebastian Huber2020-07-233-40/+87
|
* spintrcritical21: Use T_interrupt_test()Sebastian Huber2020-07-234-140/+149
|
* spintrcritical20: Use T_interrupt_test()Sebastian Huber2020-07-233-59/+115
|
* spintrcritical18: Use T_interrupt_test()Sebastian Huber2020-07-233-49/+128
|
* spintrcritical16: Use T_interrupt_test()Sebastian Huber2020-07-233-60/+115
|
* spintrcritical15: Use T_interrupt_test()Sebastian Huber2020-07-233-54/+117
|
* spintrcritical13/14: Use T_interrupt_test()Sebastian Huber2020-07-234-67/+147
|
* spintrcritical11/12: Use T_interrupt_test()Sebastian Huber2020-07-234-51/+126
|
* spintrcritical10: Use T_interrupt_test()Sebastian Huber2020-07-233-126/+109
|
* spintrcritical09: Use T_interrupt_test()Sebastian Huber2020-07-233-50/+103
|
* spintrcritical08: Use T_interrupt_test()Sebastian Huber2020-07-233-83/+157
|
* spintrcritical06/spintrcritical07: Remove testsSebastian Huber2020-07-239-242/+0
| | | | | | These two tests check conditions which no longer exist in the thread queue implementation. The are obsolete since the change to use red-black trees for the priority queues.
* spintrcritical01/2/3/4/5: Use T_interrupt_test()Sebastian Huber2020-07-238-104/+194
|
* psxintrcritical01: Use T_interrupt_test()Sebastian Huber2020-07-233-50/+121
|
* libtest: Add T_interrupt_test()Sebastian Huber2020-07-235-0/+232
| | | | Update #3199.
* libtest: Make check message optionalSebastian Huber2020-07-232-2/+25
| | | | | | | This macro magic is in line with C11 and C++11, but limits the maximum count of arguments. Update #3199.
* libtest: Add push/pop fixture supportSebastian Huber2020-07-232-9/+100
| | | | Update #3199.
* libtest: Support custom scope messages via fixtureSebastian Huber2020-07-232-9/+17
| | | | Update #3199.