summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-10-24score: Move thread queue timeout handlingSebastian Huber1-1/+1
Update #3117. Update #3182.
2017-10-24score: Add _Watchdog_Nanoseconds_per_tickSebastian Huber1-0/+1
Move it from the configuration to a separate variable. Update #3117. Update #3182.
2017-10-24score: _Watchdog_Is_far_future_monotonic_timespecSebastian Huber1-0/+1
Update #3117. Update #3182.
2017-10-24score: Add _Watchdog_Ticks_per_secondSebastian Huber1-0/+6
This value is frequently used. Avoid the function call overhead and the integer division at run-time. Update #3117. Update #3182.
2017-10-24psxclockrealtime01: New testSebastian Huber6-0/+700
Update #3182.
2017-10-24tmtests/tmfine01: Reduce test context sizeSebastian Huber1-0/+4
Reduce test context size in non-SMP configurations. Close #3200.
2017-10-23testsuite: Fix buildSebastian Huber1-0/+2
Updates #3170.
2017-10-23testsuite: Remove warnings.Chris Johns1-17/+18
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns555-342/+1349
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2017-10-21libtests/tar01: Fix build dependenciesSebastian Huber1-2/+7
2017-10-18sptests/sptimecounter04: New testChristian Mauderer6-0/+119
Ensure that the time flow of CLOCK_REALTIME and CLOCK_MONOTONIC is close to the clock driver ticks time flow.
2017-10-18tmtests/tmfine01: Add test casesSebastian Huber3-2119/+4188
Update #2674. Update #3112. Update #3113. Update #3114. Update #3115.
2017-10-17posix: Remove POSIX_API_Control::schedparamSebastian Huber1-5/+1
Move sporadic server scheduler parameters to POSIX_API_Control::Sporadic. Remove redundant scheduler priority parameter. Update #2514.
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