summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-10-13libmisc/xz: Add xz decompression.Chris Johns3-4/+98
Add support to untar XZ compressed files.
2016-10-12score: More robust linker setsSebastian Huber1-29/+44
Update #2408. Update #2790.
2016-10-12smpschedaffinity05: Fix configurationSebastian Huber1-0/+2
2016-10-10tmfine01: Add self-contained mutex test caseSebastian Huber1-1/+46
This demonstrates the effect of false cache line sharing in case of Classic mutexes.
2016-09-23sptests/spsem03: Fix compile errorSebastian Huber1-1/+1
2016-09-21score: Scheduler node awareness for thread queuesSebastian Huber1-24/+349
Maintain the priority of a thread for each scheduler instance via the thread queue enqueue, extract, priority actions and surrender operations. This replaces the primitive priority boosting. Update #2556.
2016-09-21rtems: Add rtems_task_get_priority()Sebastian Huber3-0/+65
Update #2556. Update #2784.
2016-09-21smptests/smpmutex01: Use test case functionsSebastian Huber1-2/+24
2016-09-21score: Rework thread priority managementSebastian Huber5-45/+176
Add priority nodes which contribute to the overall thread priority. The actual priority of a thread is now an aggregation of priority nodes. The thread priority aggregation for the home scheduler instance of a thread consists of at least one priority node, which is normally the real priority of the thread. The locking protocols (e.g. priority ceiling and priority inheritance), rate-monotonic period objects and the POSIX sporadic server add, change and remove priority nodes. A thread changes its priority now immediately, e.g. priority changes are not deferred until the thread releases its last resource. Replace the _Thread_Change_priority() function with * _Thread_Priority_perform_actions(), * _Thread_Priority_add(), * _Thread_Priority_remove(), * _Thread_Priority_change(), and * _Thread_Priority_update(). Update #2412. Update #2556.
2016-09-19termios: Use IMFS nodes for new Termios devicesSebastian Huber2-117/+48
This makes the new Termios devices independent of device major/minor numbers. It enables BSP independent Termios device drivers which may reside in the cpukit domain. These drivers require an IMFS and do not work with the device file system. However, the device file system should go away in the future.
2016-09-19libtests/devfs: Use printk()Sebastian Huber3-5/+5
This avoids problems with console drivers that use generic nodes of the IMFS.
2016-09-19fstests: Use printk() for IMFS configuration testsSebastian Huber2-4/+4
This avoids problems with console drivers that require a more complete IMFS.
2016-09-19tests: CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEMSebastian Huber7-7/+0
Avoid unnecessary use of CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM.
2016-09-16Add SPI bus frameworkAlexander Krutwig6-0/+322
User API is compatible to Linux userspace API. New test libtests/spi01. Update #2776.
2016-09-08score: Introduce _Thread_Get_priority()Sebastian Huber3-11/+15
Avoid direct access to thread internal data fields.
2016-09-08score: Introduce Thread_queue_Lock_contextSebastian Huber2-2/+2
Introduce Thread_queue_Lock_context to contain the context necessary for thread queue lock and thread wait lock acquire/release operations to reduce the Thread_Control size.
2016-09-08testsuite: Add libdl/dl05 reloc test.Chris Johns10-1/+1544
2016-09-06score: Add _Chain_Initialize_one()Sebastian Huber2-0/+24
2016-09-06score: Add _RBTree_Initialize_one()Sebastian Huber2-0/+26
2016-09-01libmisc/capture: Remove the reserved _t in the types.Chris Johns3-17/+17
2016-09-01libmisc/capture: Fix the capture engine on SMP.Chris Johns1-77/+95
This patches some issues with the capture engine: 1. Check is the engine is open in ctrace commands. 2. Check all record open and appends for overflow. 3. Fix the record open to take the size of user data and not the record header. 4. Use packed structs for data being written to the per cpu buffers. 5. Remove direct struct access to the capture buffers to avoid misaligned accesses. 6. Add support to extract records, no struct access to the capture buffers. 7. Update ctrace to extract records from the capture buffers. 8. Add support to ctrace to always print the task name if it has one. 9. Add support to manage names or the lack of a name. 10. Range of minor fixes. 11. Fix a long standing bug in ctset's handling of args. Closes #2780.
2016-08-18psxtests: Adjust sporadic server testsSebastian Huber3-99/+64
According to POSIX priority value returned from pthread_getschedparam() shall be the value specified by the most recent pthread_setschedparam(), pthread_setschedprio(), or pthread_create() call affecting the target thread. Read this as though a temporary lower priority due to the sporadic server policy shall not be visible through pthread_getschedparam(). Thus, use rtems_task_set_priority() to get the current priority of the threads. Use a priority ceiling mutex to prevent sporadic server priority adjustments.
2016-08-15testsuite: Add libdl/dl04 cache test.Chris Johns10-0/+1549
2016-08-15testsuite: Add libdl/dl03 cache test.Chris Johns8-1/+491
2016-08-12score: Improve _RBTree_Insert_inline()Sebastian Huber3-1/+65
Return if the inserted node is the new minimum node or not.
2016-08-11librtems++: Remove from RTEMS.Chris Johns10-1200/+1
This is old and there are better design patterns for threading and C++. We recommend you use the new C++ standards based support. Closes #2777.
2016-08-11build-system: Always enable C++ if the compiler is present.Chris Johns3-20/+30
We always build a C++ compiler and building with C++ does not effect RTEMS or the runtime. This patch always enabled the support. There is no need to manually enable it any more. You can disable C++ with '--disable-cxx'. If an architecture does not have a C++ compiler support is automatically disabled.
2016-08-10sptests/splinkersets01: Fix for small-data areaSebastian Huber2-12/+12
2016-08-09libmisc/untar: Set the perms to the value in the tar file.Chris Johns2-1/+34
This patch parses the mode field in the tar header and sets the directory or file to the mode value in the header. Closes #2768.
2016-08-08sptests/splinkersets01: Fix warningsSebastian Huber3-34/+34
2016-08-08score: Add debug support to red-black treesSebastian Huber1-1/+0
This helps to detect double insert and extract errors.
2016-08-02linker set: Allow adding any variable into contentChristian Mauderer4-0/+48
The newly created macro adds any kind of variable into a linker set. It allows (for example) the saving an execution state of a function using the following method: - put a group of different variables into one linker set - save the memory area containing the group of variables before the execution of a function - restore the memory area after the function has been executed
2016-07-27score: Add deadlock detectionSebastian Huber5-83/+421
The mutex objects use the owner field of the thread queues for the mutex owner. Use this and add a deadlock detection to _Thread_queue_Enqueue_critical() for thread queues with an owner. Update #2412. Update #2556. Close #2765.
2016-07-27score: Turn thread lock into thread wait lockSebastian Huber1-4/+3
The _Thread_Lock_acquire() function had a potentially infinite run-time due to the lack of fairness at atomic operations level. Update #2412. Update #2556. Update #2765.
2016-07-26Add Untar_FromGzChunk_Print() + TestAlexander Krutwig5-5/+87
2016-07-26Add Untar_FromChunk_Print() + TestAlexander Krutwig3-0/+54
2016-07-26sptests/spextensions01: Avoid NULL pointer accessSebastian Huber1-1/+2
2016-07-25posix: add clock_nanosleep and testsGedare Bloom13-0/+431
updates #2732
2016-07-25smptests/smpmutex02: New testSebastian Huber6-0/+1052
Update #2765.
2016-07-25score: Relax thread begin extension environmentSebastian Huber1-0/+74
Update #2752.
2016-07-22score: Add debug support to chainsSebastian Huber1-4/+32
This helps to detect * double insert, append, prepend errors, and * get from empty chain errors.
2016-07-06score: Postpone SMP shutdown in _Terminate()Sebastian Huber1-21/+17
This enables fatal extensions to continue program execution after some fatal errors.
2016-07-01net: Fix byte order issue for getnameinfo()Sebastian Huber1-11/+11
2016-07-01rtems: Fix rtems_task_set_scheduler() APISebastian Huber9-44/+217
Task priorities are only valid within a scheduler instance. The rtems_task_set_scheduler() directive moves a task from one scheduler instance to another using the current priority of the thread. However, the current task priority of the source scheduler instance is undefined in the target scheduler instance. Add a third parameter to specify the priority. Close #2749.
2016-06-30smptests/smpstrongapa01: SimplifySebastian Huber1-5/+1
2016-06-30smptests/smpstrongapa01: Add test casesSebastian Huber1-3/+300
2016-06-28libnetworking: Add minimal getnameinfo()Christian Mauderer6-0/+220
This implementation just falls back to giving a string representation of the IP. It supports IPv4 only. Add test for getnameinfo().
2016-06-28libcsupport: Add dummy for setgroups().Christian Mauderer2-0/+34
The dummy for setgroups() allows applications using it to build (for example civetweb webserver).
2016-06-24score: Change Priority_Control to 64-bitSebastian Huber1-1/+1
A 32-bit Priority_Control limits the uptime to 49 days with a 1ms clock tick in case the EDF scheduler is used. Increase it to 64-bit to enable proper operation of the EDF scheduler, Close 2173.
2016-06-24testsuites: Increase invalid priority valuesSebastian Huber4-4/+8
Increase the invalid priority values to support test runs with alternative schedulers offering a significant higher maximum priority value, e.g. EDF.