path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
7 daysrtems: Add rtems_clock_get_ticks_since_boot() functionSebastian Huber1-14/+61
This function was declared, however, a definition was missing. Add a validation test for it.
11 daysDo not use RTEMS_INLINE_ROUTINESebastian Huber1-1/+1
Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
2022-09-12validation: Test deadlock detection special caseSebastian Huber1-0/+190
Update #3716.
2022-09-09validation: Fix integer type warningSebastian Huber1-1/+1
Update #4662.
2022-09-08libtests/sha: Add tests for SHA512-256Sebastian Huber1-0/+49
2022-09-08libtests/sha: Add tests for SHA512-224Sebastian Huber1-0/+50
2022-09-08libtests/sha: Add tests for SHA384Sebastian Huber1-0/+58
2022-09-08libtests/sha: Add tests for SHA224Sebastian Huber1-4/+54
2022-09-08minimum: Do not use unified work areasSebastian Huber1-15/+0
The CONFIGURE_UNIFIED_WORK_AREAS option pulls in a system initialization handler which initializes the unified heap. Close #4108.
2022-09-06pthread_atfork(): Change to behavior from FACE Technical StandardJoel Sherrill2-3/+9
Closes #4713.
2022-09-05validation: CONFIGURE_SCHEDULER_TABLE_ENTRIESSebastian Huber3-2/+119
Test this option in a configuration with only one processor. Update #3716.
2022-09-05validation: Refine basedefs specificationSebastian Huber1-0/+129
Update #3716.
2022-09-05validation: RegenerateSebastian Huber1-6/+6
Update #4702.
2022-08-31validation: Ignore array bounds warningsSebastian Huber1-0/+10
Update #4702.
2022-08-31libtest: Fix warnings without a pragmaSebastian Huber1-5/+5
It seems that recent GCC versions expect that functions with a "const type *" parameter will read from the referenced location. Update #4662.
2022-08-31validation: Move flush filter stop validationSebastian Huber4-106/+408
This gets rid of a cyclic dependency in the specification graph. Update #3716.
2022-08-31validation: Support a partial thread queue flushSebastian Huber7-31/+53
Update #3716.
2022-08-30validation: Fix use of uninitialized variablesSebastian Huber1-20/+16
Update #4662.
2022-08-19psxkey07/init.c: Add pragma for gcc 12 warningRyan Long1-2/+9
Updates #4662
2022-08-19psxclock/init.c: Change print format for warningRyan Long1-1/+1
Updates #4662
2022-08-19ttest01/test-checks.c: Initialize variablesRyan Long1-5/+5
These uninitialized variables were causing warnings to be generated. Updates #4662
2022-08-19malloctest/init.c: Added pragmas to address gcc 12 warningsRyan Long1-3/+38
Updates #4662
2022-08-19dl09/dl-load.c: Fix gcc 12 warningRyan Long1-1/+1
Changed format of size_t variable being printed. Updates #4662
2022-08-11psxtimer_face01: Improve coverage and documentationJoel Sherrill3-6/+52
Updates #4691.
2022-08-10psxtimer0[12]/psxtimer.c: Reformat file header.Joel Sherrill2-6/+12
2022-08-10Add support for CONFIGURE_POSIX_TIMERS_FACE_BEHAVIORJoel Sherrill3-0/+132
This adds the configure option CONFIGURE_POSIX_TIMERS_FACE_BEHAVIOR which allows the application to choose whether to have the POSIX timer_create() function follow the behavior defined by POSIX or the FACE Technical Standard. Updates #4691.
2022-08-10validation: Use T_report_hash_sha256_update()Sebastian Huber1-0/+2
Add the direct BSP character ouput to the report hash. Update #3716.
2022-08-05testsuite: Fix warningsChris Johns2-3/+4
Updates #4662
2022-08-05testsuite/psxclock: Check setting realtime clock does not effect sleeping tasksChris Johns1-1/+171
Closes #4690
2022-08-04posix: Fix relative CLOCK_REALTIME sleepSebastian Huber1-32/+14
A relative CLOCK_REALTIME time out shall not be affected by CLOCK_REALTIME changes through clock_settime(). Since our CLOCK_REALTIME is basically just CLOCK_MONOTONIC plus an offset, we can simply use the CLOCK_MONOTONIC watchdog for relative CLOCK_REALTIME time outs. Update #4690.
2022-08-01sp54: Fix test caseSebastian Huber1-2/+2
Since commit 6a6580331df3e09516d50f37d4dd5fd57825c08a, the local table is zero-initialized. Use an initial object control block instead. Update #4678.
2022-07-29libtests/dl*: Bump up the size of CONFIGURE_INIT_TASK_STACK_SIZERyan Long10-10/+10
Updates #4682
2022-07-28score: Use PTHREAD_CANCELED for _Thread_Cancel()Sebastian Huber1-1/+1
The rtems_task_delete() directive is basically just a combined pthread_cancel() and pthread_join(). In addition, it removes the PTHREAD_DETACHED state. The exit value returned by pthread_join() of threads cancelled by rtems_task_delete() should reflect this by getting a PTHREAD_CANCELED value instead of NULL which could be a normal exit value. Close #4680.
2022-07-28score: Use priority inheritance for thread joinSebastian Huber6-399/+509
Threads may join the thread termination of another thread using the pthread_join() or rtems_task_delete() directives. The thread cancel operation used a special case priority boosting mechanism implemented by _Thread_Raise_real_priority(). The problem was that this approach * is not transitive, * does not account for priority adjustments of the calling task while waiting for the join, * does not support clustered scheduling, and * does not detect deadlocks. All these problems are fixed by using a priority inheritance thread queue for the join operation. Close #4679.
2022-07-27psxconfig01: Increase region areaSebastian Huber1-1/+1
This fixes a test failure on 64-bit systems with RTEMS_DEBUG enabled.
2022-07-26score: Remove PRIORITY_PSEUDO_ISR thread prioritySebastian Huber1-11/+7
The uniprocessor schedulers had some special case logic for the PRIORITY_PSEUDO_ISR priority. Tasks with a priority of PRIORITY_PSEUDO_ISR were allowed to preempt a not preemptible task. If other higher priority task are made ready while a PRIORITY_PSEUDO_ISR task preempts a not preemptible task, then the other tasks run before the not preemptible task. This made the RTEMS_NO_PREEMPT mode ineffective. Remove the PRIORITY_PSEUDO_ISR special case logic. This simplifies the uniprocessor schedulers. Move the uniprocessor-specific scheduler support to the new header file <rtems/score/scheduleruniimpl.h>. Close #2365.
2022-07-25sptests/spstdc17: New testSebastian Huber2-0/+69
2022-07-21Support _REENT_THREAD_LOCAL Newlib configurationMatt Joyce1-4/+7
In case the Newlib _REENT_THREAD_LOCAL configuration option is enabled, the struct _reent is not defined (there is only a forward declaration in <sys/reent.h>). Instead, the usual members of struct _reent are available as dedicatd thread-local storage objects. Update #4560.
2022-07-21sptests: Disable Newlib reentrancyMatt Joyce4-1/+22
Update #4560.
2022-07-21sptls04: Test an external TLS objectSebastian Huber3-3/+81
2022-07-20ada/sp09: The year 2100 cannot be setSebastian Huber1-12/+6
Update #4338.
2022-07-18spsysinit01: Account for use of .noinit sectionSebastian Huber1-2/+2
The objects control blocks cannot be used to check the pre-initialization state since they are allocated in a .noinit section. Update #4678.
2022-07-18spunlimited01: New testSebastian Huber2-0/+139
Update #4677.
2022-07-15score: Extend memory dirty/zero actionsSebastian Huber1-6/+42
Dirty or zero also the part of the .noinit section used by RTEMS. Close #4678.
2022-07-15score: Place object controls into .noinit sectionsSebastian Huber1-1/+2
Place the statically allocated object control blocks, local tables, and thread queue heads into the dedicated .noinit intput sections. The output section is not zero initialized. Placing these elements into the .noinit section reduces the system initialization time by decreasing the .bss section size. It may improve the cache efficiency since the mostly read local tables are placed in a contiguous memory area. Update #4678.
2022-07-14cdtest: Restrict exceptions during sysinitSebastian Huber1-0/+14
Exceptions during system initialization work only on targets which do not need a registration of exception frames during the global construction. In particular, targets which use the DWARF2 unwinder cannot use exceptions during system initialization.
2022-07-14spextensions01: Fix assertionSebastian Huber1-2/+11
Commit 80090639a62b50d7d66614ca789e4592924a06e5 altered the system state change. Account for this in assert_allocator_protected_thread_context().
2022-07-14validation: SMP-specific spurious interrupt testSebastian Huber1-23/+125
Update #3716.
2022-07-13sppps01: Fix test in SMP configurationsSebastian Huber1-1/+1
Update #2349.
2022-07-07validation: Test thread idle bodiesSebastian Huber1-0/+194
Update #3716.