summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-10-17posix: Fix _POSIX_Threads_Create_extension()Sebastian Huber1-0/+8
The thread POSIX API control must be fully initialized in _POSIX_Threads_Create_extension(), otherwise a pthread_setschedparam() is broken for all threads not created with pthread_create().
2017-10-17score: Rename watchdog variantsSebastian Huber2-3/+3
Rename PER_CPU_WATCHDOG_RELATIVE in PER_CPU_WATCHDOG_MONOTONIC to highlight the corresponding POSIX CLOCK_MONOTONIC. Rename PER_CPU_WATCHDOG_ABSOLUTE in PER_CPU_WATCHDOG_REALTIME to highlight the corresponding POSIX CLOCK_REALTIME. Update #3117. Update #3182.
2017-10-12spthreadq01/init.c: Fix unused variable warningsJoel Sherrill1-3/+0
2017-10-12ada-tests: Move to testsuites/adaSebastian Huber507-0/+44887
This solves a build dependency issue, e.g. building tests before librtemsbsp.a exists. Close #3079.
2017-10-11Fix warnings for using C/ObjC specific GCC flags with C++Joel Sherrill1-0/+6
Closes #3181.
2017-10-11Fix spprofiling01 overriding recipe warningJoel Sherrill2-2/+2
Closes #3084.
2017-10-11smpaffinity01: Fix test caseSebastian Huber2-10/+10
Update #2514.
2017-10-11score: Remove CPU_set_ControlSebastian Huber1-13/+0
Use Processor_mask instead. Update #2514.
2017-10-11posix: Validate affinity sets by the schedulerSebastian Huber2-7/+7
Update #2514.
2017-10-10posix: Constify default thread processor affinitySebastian Huber2-0/+8
Set default thread processor affinity to all processors of the pre-allocated set. This allows to constify the _POSIX_Threads_Default_attributes. Update #2514.
2017-10-10posix: Simplify pthread_attr_setstack()Sebastian Huber1-1/+4
Simplify * pthread_attr_setstack(), and * pthread_attr_setstacksize(). Update #2514.
2017-10-09posix: Remove rtems_pthread_attribute_compare()Sebastian Huber1-1/+67
Update #2514. Close #3174.
2017-10-09posix: Simplify POSIX_API_ControlSebastian Huber4-33/+78
Return stack area via pthread_getattr_np(). Simplify * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() and let the scheduler do the more sophisticated error checks. Make * pthread_setaffinity_np(), * pthread_getaffinity_np(), * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() available in all configurations. Update #2514. Close #3145. Close #3168.
2017-10-09psxtests/psx05: Fix timeout calculationSebastian Huber1-9/+3
Update #3111.
2017-10-05posix: Implement self-contained POSIX mutexSebastian Huber33-130/+194
POSIX mutexes are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3112.
2017-10-05posix: Implement self-contained POSIX condvarSebastian Huber24-76/+185
POSIX condition variables are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3113.
2017-10-05posix: Implement self-contained POSIX rwlocksSebastian Huber13-113/+203
POSIX rwlocks are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3115.
2017-10-05posix: Implement self-contained POSIX barriersSebastian Huber9-61/+63
POSIX barriers are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3114.
2017-10-05posix: Implement self-contained POSIX semaphoresSebastian Huber8-38/+227
For semaphore object pointer and object validation see POSIX_SEMAPHORE_VALIDATE_OBJECT(). Destruction or close of a busy semaphore returns an error status. The object is not flushed. POSIX semaphores are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3116.
2017-09-22posix: Allow PTHREAD_PROCESS_SHARED for rwlocksSebastian Huber1-0/+38
Close #3153.
2017-09-21psxrdwrv/test.c: Clear iovec to ensure consistent resultsJoel Sherrill1-0/+3
closes #3148.
2017-09-15posix: Allow PTHREAD_PROCESS_SHARED for condvarSebastian Huber2-2/+29
Close #3137.
2017-09-15posix: Allow PTHREAD_PROCESS_SHARED for barriersSebastian Huber2-2/+23
Close #3126.
2017-09-15posix: Allow PTHREAD_PROCESS_SHARED for mutexesSebastian Huber2-4/+7
Close #3125.
2017-09-15libio: Use FIFO for iop free listSebastian Huber2-8/+38
Update #3136.
2017-09-15libio: Add hold/drop iop referenceSebastian Huber12-0/+749
Check iop reference count in close() and return -1 with errno set to EBUSY in case the file descriptor is still in use. Update #3132.
2017-09-15libio: Do simple parameter checks earlySebastian Huber1-3/+9
This simplifies error handling later. Update #3132.
2017-09-14fstests/fsimfsgeneric01: Fix test assertSebastian Huber1-2/+1
2017-09-12posix: Ignore pshared for semaphoresSebastian Huber1-5/+9
Since we have only one process, sharing between processes is trivial. Close #3124.
2017-09-06dosfs: Support a cluster size of 64KiBSebastian Huber1-0/+28
Close #3003.
2017-08-27psxconfig01/init.c: Fix printf() format warningsJoel Sherrill1-6/+6
2017-08-27sp25/task1.c: Fix printf() format warningsJoel Sherrill1-2/+2
2017-08-27spstkalloc02/init.c: Fix printf() format warningsJoel Sherrill1-6/+6
2017-08-25Include missing <limits.h>Sebastian Huber1-0/+1
Update #2132.
2017-08-24samples/fileio: Give command availability hintSebastian Huber1-3/+7
Close #3088.
2017-08-22smptests: Fix format specifierSebastian Huber2-3/+3
Update #3082.
2017-07-28psximfs02/init.c: Increase size of buffer to avoid overwriteJoel Sherrill1-2/+2
2017-07-28psxmmap01/init.c: Correct printf() format specifierJoel Sherrill1-1/+1
2017-07-28psxtests/psxmmap01: Fix warningSebastian Huber1-1/+1
Update #2859.
2017-07-28Fix IO control request typeSebastian Huber2-2/+2
2017-07-28libtests/block08: Fix format warningSebastian Huber1-1/+1
2017-07-27psxmmap01/test_helper.c: Use correct printf format for size_tJoel Sherrill1-1/+1
2017-07-27psxmmap01/test_driver.c: Fix mmap_h handler type mismatchJoel Sherrill1-1/+1
2017-07-25sparc: Add lazy floating point switchSebastian Huber3-4/+4
The SPARC ABI is a bit special with respect to the floating point context. The complete floating point context is volatile. Thus, from an ABI point of view nothing needs to be saved and restored during a context switch. Instead the floating point context must be saved and restored during interrupt processing. Historically, the deferred floating point switch was used for SPARC and the complete floating point context is saved and restored during a context switch to the new floating point unit owner. This is a bit dangerous since post-switch actions (e.g. signal handlers) and context switch extensions may silently corrupt the floating point context. The floating point unit is disabled for interrupt handlers. Thus, in case an interrupt handler uses the floating point unit then this will result in a trap (INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT). In uniprocessor configurations, a lazy floating point context switch is used. In case an active floating point thread is interrupted (PSR[EF] == 1) and a thread dispatch is carried out, then this thread is registered as the floating point owner. When a floating point owner is present during a context switch, the floating point unit is disabled for the heir thread (PSR[EF] == 0). The floating point disabled trap checks that the use of the floating point unit is allowed and saves/restores the floating point context on demand. Update #3077.
2017-07-25INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNITSebastian Huber11-2/+248
Add new fatal error INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT. Update #3077.
2017-07-20tmtests/tmcontext01: Prevent GCC 7.1 optimizationsSebastian Huber1-20/+21
It is getting harder to prevent the compiler from optimizing away the recursive function calls.
2017-07-19sptests/sptls02: Use standard test IOSebastian Huber1-1/+0
Update #3076.
2017-07-19sptests/spcache01: Use standard test IOSebastian Huber1-1/+0
Update #3076.
2017-07-19tests: Use floating point taskSebastian Huber2-1/+3
These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
2017-07-19smptests/smpscheduler02: Remove invalid assertSebastian Huber1-3/+1
Update #3059.