summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/dev/can: Added CAN supportPrashanth S2022-10-302-0/+359
|
* sptests: Avoid fatal error to end a testSebastian Huber2022-10-252-0/+2
| | | | | End the test with a normal exit instead of INTERNAL_ERROR_THREAD_EXITTED.
* validation: Use correct number of idle tasksSebastian Huber2022-10-141-1/+16
| | | | Update #3716.
* score: INTERNAL_ERROR_IDLE_THREAD_STACK_TOO_SMALLSebastian Huber2022-10-144-1/+357
| | | | | | | Ensure that the IDLE storage allocator did allocate a suffiently large area. Update #3835. Update #4524.
* config: Add CONFIGURE_IDLE_TASK_STORAGE_SIZESebastian Huber2022-10-1412-6/+111
| | | | | | | | | | | | By default, allocate the IDLE task storage areas from the RTEMS Workspace. This avoids having to estimate the thread-local storage size in the default configuration. Add the application configuration option CONFIGURE_IDLE_TASK_STORAGE_SIZE to request a static allocation of the task storage area for IDLE tasks. Update #3835. Update #4524.
* stackchk01: Check CPU_STACK_MINIMUM_SIZESebastian Huber2022-10-142-9/+33
| | | | | Ensure that the CPU_STACK_MINIMUM_SIZE is suffiently larger than the stack usage in simple applications.
* score: INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILEDSebastian Huber2022-10-145-1/+340
| | | | | | Add the INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED fatal error in case the creation of an idle thread fails. This may happen due to a failing create extension provided by the application.
* config: Changeable size for IDLE stack allocatorSebastian Huber2022-10-144-7/+7
| | | | | | | | Allow the IDLE stack allocator to change the stack size. This can be used by applications with a very dynamic thread-local storage size to adjust the thread storage area of the IDLE tasks dynamically. Update #4524.
* sptls02: Fix alignment checkSebastian Huber2022-10-141-2/+6
|
* sptls01: Disable file system and Newlib reentrancySebastian Huber2022-10-141-1/+34
| | | | Update #4560.
* sptls0*: Enable stack checkerSebastian Huber2022-10-143-0/+12
| | | | | The thread-local storage area is located close to other stacks. Try to detect overwrites.
* psxrwlock01: Use an initilized lock for testsSebastian Huber2022-10-071-8/+20
| | | | Close #4738.
* validation: Fix wordingSebastian Huber2022-10-061-6/+6
|
* validation: Remove unused test suiteSebastian Huber2022-09-281-94/+0
| | | | Update #3716.
* rtems: Add rtems_clock_get_ticks_since_boot() functionSebastian Huber2022-09-231-14/+61
| | | | | This function was declared, however, a definition was missing. Add a validation test for it.
* Do not use RTEMS_INLINE_ROUTINESebastian Huber2022-09-191-1/+1
| | | | | | | Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
* validation: Test deadlock detection special caseSebastian Huber2022-09-121-0/+190
| | | | Update #3716.
* validation: Fix integer type warningSebastian Huber2022-09-091-1/+1
| | | | Update #4662.
* libtests/sha: Add tests for SHA512-256Sebastian Huber2022-09-081-0/+49
|
* libtests/sha: Add tests for SHA512-224Sebastian Huber2022-09-081-0/+50
|
* libtests/sha: Add tests for SHA384Sebastian Huber2022-09-081-0/+58
|
* libtests/sha: Add tests for SHA224Sebastian Huber2022-09-081-4/+54
|
* minimum: Do not use unified work areasSebastian Huber2022-09-081-15/+0
| | | | | | | The CONFIGURE_UNIFIED_WORK_AREAS option pulls in a system initialization handler which initializes the unified heap. Close #4108.
* pthread_atfork(): Change to behavior from FACE Technical StandardJoel Sherrill2022-09-062-3/+9
| | | | Closes #4713.
* validation: CONFIGURE_SCHEDULER_TABLE_ENTRIESSebastian Huber2022-09-053-2/+119
| | | | | | Test this option in a configuration with only one processor. Update #3716.
* validation: Refine basedefs specificationSebastian Huber2022-09-051-0/+129
| | | | Update #3716.
* validation: RegenerateSebastian Huber2022-09-051-6/+6
| | | | Update #4702.
* validation: Ignore array bounds warningsSebastian Huber2022-08-311-0/+10
| | | | Update #4702.
* libtest: Fix warnings without a pragmaSebastian Huber2022-08-311-5/+5
| | | | | | | It seems that recent GCC versions expect that functions with a "const type *" parameter will read from the referenced location. Update #4662.
* validation: Move flush filter stop validationSebastian Huber2022-08-314-106/+408
| | | | | | This gets rid of a cyclic dependency in the specification graph. Update #3716.
* validation: Support a partial thread queue flushSebastian Huber2022-08-317-31/+53
| | | | Update #3716.
* validation: Fix use of uninitialized variablesSebastian Huber2022-08-301-20/+16
| | | | Update #4662.
* psxkey07/init.c: Add pragma for gcc 12 warningRyan Long2022-08-191-2/+9
| | | | Updates #4662
* psxclock/init.c: Change print format for warningRyan Long2022-08-191-1/+1
| | | | Updates #4662
* ttest01/test-checks.c: Initialize variablesRyan Long2022-08-191-5/+5
| | | | | | These uninitialized variables were causing warnings to be generated. Updates #4662
* malloctest/init.c: Added pragmas to address gcc 12 warningsRyan Long2022-08-191-3/+38
| | | | Updates #4662
* dl09/dl-load.c: Fix gcc 12 warningRyan Long2022-08-191-1/+1
| | | | | | Changed format of size_t variable being printed. Updates #4662
* psxtimer_face01: Improve coverage and documentationJoel Sherrill2022-08-113-6/+52
| | | | Updates #4691.
* psxtimer0[12]/psxtimer.c: Reformat file header.Joel Sherrill2022-08-102-6/+12
|
* Add support for CONFIGURE_POSIX_TIMERS_FACE_BEHAVIORJoel Sherrill2022-08-103-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.
* validation: Use T_report_hash_sha256_update()Sebastian Huber2022-08-101-0/+2
| | | | | | Add the direct BSP character ouput to the report hash. Update #3716.
* testsuite: Fix warningsChris Johns2022-08-052-3/+4
| | | | Updates #4662
* testsuite/psxclock: Check setting realtime clock does not effect sleeping tasksChris Johns2022-08-051-1/+171
| | | | Closes #4690
* posix: Fix relative CLOCK_REALTIME sleepSebastian Huber2022-08-041-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.
* sp54: Fix test caseSebastian Huber2022-08-011-2/+2
| | | | | | | Since commit 6a6580331df3e09516d50f37d4dd5fd57825c08a, the local table is zero-initialized. Use an initial object control block instead. Update #4678.
* libtests/dl*: Bump up the size of CONFIGURE_INIT_TASK_STACK_SIZERyan Long2022-07-2910-10/+10
| | | | Updates #4682
* score: Use PTHREAD_CANCELED for _Thread_Cancel()Sebastian Huber2022-07-281-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.
* score: Use priority inheritance for thread joinSebastian Huber2022-07-286-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.
* psxconfig01: Increase region areaSebastian Huber2022-07-271-1/+1
| | | | This fixes a test failure on 64-bit systems with RTEMS_DEBUG enabled.
* score: Remove PRIORITY_PSEUDO_ISR thread prioritySebastian Huber2022-07-261-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.