summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* posix: Remove POSIX_API_Control::schedparamSebastian Huber2017-10-171-5/+1
| | | | | | | | Move sporadic server scheduler parameters to POSIX_API_Control::Sporadic. Remove redundant scheduler priority parameter. Update #2514.
* posix: Fix _POSIX_Threads_Create_extension()Sebastian Huber2017-10-171-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().
* score: Rename watchdog variantsSebastian Huber2017-10-172-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.
* spthreadq01/init.c: Fix unused variable warningsJoel Sherrill2017-10-121-3/+0
|
* ada-tests: Move to testsuites/adaSebastian Huber2017-10-12507-0/+44887
| | | | | | | This solves a build dependency issue, e.g. building tests before librtemsbsp.a exists. Close #3079.
* Fix warnings for using C/ObjC specific GCC flags with C++Joel Sherrill2017-10-111-0/+6
| | | | Closes #3181.
* Fix spprofiling01 overriding recipe warningJoel Sherrill2017-10-112-2/+2
| | | | Closes #3084.
* smpaffinity01: Fix test caseSebastian Huber2017-10-112-10/+10
| | | | Update #2514.
* score: Remove CPU_set_ControlSebastian Huber2017-10-111-13/+0
| | | | | | Use Processor_mask instead. Update #2514.
* posix: Validate affinity sets by the schedulerSebastian Huber2017-10-112-7/+7
| | | | Update #2514.
* posix: Constify default thread processor affinitySebastian Huber2017-10-102-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.
* posix: Simplify pthread_attr_setstack()Sebastian Huber2017-10-101-1/+4
| | | | | | | | | Simplify * pthread_attr_setstack(), and * pthread_attr_setstacksize(). Update #2514.
* posix: Remove rtems_pthread_attribute_compare()Sebastian Huber2017-10-091-1/+67
| | | | | Update #2514. Close #3174.
* posix: Simplify POSIX_API_ControlSebastian Huber2017-10-094-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.
* psxtests/psx05: Fix timeout calculationSebastian Huber2017-10-091-9/+3
| | | | Update #3111.
* posix: Implement self-contained POSIX mutexSebastian Huber2017-10-0533-130/+194
| | | | | | | | POSIX mutexes are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3112.
* posix: Implement self-contained POSIX condvarSebastian Huber2017-10-0524-76/+185
| | | | | | | | POSIX condition variables are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3113.
* posix: Implement self-contained POSIX rwlocksSebastian Huber2017-10-0513-113/+203
| | | | | | | | POSIX rwlocks are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3115.
* posix: Implement self-contained POSIX barriersSebastian Huber2017-10-059-61/+63
| | | | | | | | POSIX barriers are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3114.
* posix: Implement self-contained POSIX semaphoresSebastian Huber2017-10-058-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.
* posix: Allow PTHREAD_PROCESS_SHARED for rwlocksSebastian Huber2017-09-221-0/+38
| | | | Close #3153.
* psxrdwrv/test.c: Clear iovec to ensure consistent resultsJoel Sherrill2017-09-211-0/+3
| | | | closes #3148.
* posix: Allow PTHREAD_PROCESS_SHARED for condvarSebastian Huber2017-09-152-2/+29
| | | | Close #3137.
* posix: Allow PTHREAD_PROCESS_SHARED for barriersSebastian Huber2017-09-152-2/+23
| | | | Close #3126.
* posix: Allow PTHREAD_PROCESS_SHARED for mutexesSebastian Huber2017-09-152-4/+7
| | | | Close #3125.
* libio: Use FIFO for iop free listSebastian Huber2017-09-152-8/+38
| | | | Update #3136.
* libio: Add hold/drop iop referenceSebastian Huber2017-09-1512-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.
* libio: Do simple parameter checks earlySebastian Huber2017-09-151-3/+9
| | | | | | This simplifies error handling later. Update #3132.
* fstests/fsimfsgeneric01: Fix test assertSebastian Huber2017-09-141-2/+1
|
* posix: Ignore pshared for semaphoresSebastian Huber2017-09-121-5/+9
| | | | | | Since we have only one process, sharing between processes is trivial. Close #3124.
* dosfs: Support a cluster size of 64KiBSebastian Huber2017-09-061-0/+28
| | | | Close #3003.
* psxconfig01/init.c: Fix printf() format warningsJoel Sherrill2017-08-271-6/+6
|
* sp25/task1.c: Fix printf() format warningsJoel Sherrill2017-08-271-2/+2
|
* spstkalloc02/init.c: Fix printf() format warningsJoel Sherrill2017-08-271-6/+6
|
* Include missing <limits.h>Sebastian Huber2017-08-251-0/+1
| | | | Update #2132.
* samples/fileio: Give command availability hintSebastian Huber2017-08-241-3/+7
| | | | Close #3088.
* smptests: Fix format specifierSebastian Huber2017-08-222-3/+3
| | | | Update #3082.
* psximfs02/init.c: Increase size of buffer to avoid overwriteJoel Sherrill2017-07-281-2/+2
|
* psxmmap01/init.c: Correct printf() format specifierJoel Sherrill2017-07-281-1/+1
|
* psxtests/psxmmap01: Fix warningSebastian Huber2017-07-281-1/+1
| | | | Update #2859.
* Fix IO control request typeSebastian Huber2017-07-282-2/+2
|
* libtests/block08: Fix format warningSebastian Huber2017-07-281-1/+1
|
* psxmmap01/test_helper.c: Use correct printf format for size_tJoel Sherrill2017-07-271-1/+1
|
* psxmmap01/test_driver.c: Fix mmap_h handler type mismatchJoel Sherrill2017-07-271-1/+1
|
* sparc: Add lazy floating point switchSebastian Huber2017-07-253-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.
* INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNITSebastian Huber2017-07-2511-2/+248
| | | | | | Add new fatal error INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT. Update #3077.
* tmtests/tmcontext01: Prevent GCC 7.1 optimizationsSebastian Huber2017-07-201-20/+21
| | | | | It is getting harder to prevent the compiler from optimizing away the recursive function calls.
* sptests/sptls02: Use standard test IOSebastian Huber2017-07-191-1/+0
| | | | Update #3076.
* sptests/spcache01: Use standard test IOSebastian Huber2017-07-191-1/+0
| | | | Update #3076.
* tests: Use floating point taskSebastian Huber2017-07-192-1/+3
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.