summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tm08: Do not use RTEMS_INTERRUPT_MASK for no reschedule caseJoel Sherrill2017-12-081-7/+10
| | | | Updates #3000.
* sp08: Disable RTEMS_INTERRUPT_MASK testing when SMP enabledJoel Sherrill2017-12-081-2/+2
| | | | Updates #3000.
* dosfs: Allow creating a file with similar name.Christian Mauderer2017-12-071-0/+25
| | | | | | | | If there is already a file with a long file name it isn't possible to create a second file which has a name that ends on the first files name (for example ets.beam and sets.beam). This patch fixes that. Update #3258.
* smpunsupported01: Add missing error check for rtems_task_modeJoel Sherrill2017-12-062-1/+13
| | | | | | Update test documentation to include more cases. Updates #3000.
* sptests/sp51: Delete semaphore after useSebastian Huber2017-12-061-0/+3
| | | | This ensures that the configured semaphore maximum is not exceeded.
* libio: Use API mutexSebastian Huber2017-12-061-2/+2
|
* dosfs: Fix files with same name as volume name.Christian Mauderer2017-12-051-1/+44
| | | | | | | Take care that a file in the root directory with the same name as the volume name can be found. Update #3257.
* ada: Check C and POSIX typesSebastian Huber2017-12-044-3/+187
| | | | Update #3256.
* score: Use self-contained API mutexSebastian Huber2017-12-043-11/+8
| | | | | | | | | | Use a self-contained recursive mutex for API_Mutex_Control. The API mutexes are protected against asynchronous thread cancellation. Add dedicated mutexes for libatomic and TOD. Close #2629. Close #2630.
* ada/sp09: Fix timer server test caseSebastian Huber2017-12-041-1/+1
| | | | A priority of zero is valid for the timer server.
* ada/sp09: Fix region test casesSebastian Huber2017-12-042-16/+17
|
* ada: Fix work_space_size() test supportSebastian Huber2017-12-041-1/+2
|
* ada/tm04: Account for task delete behaviour changeSebastian Huber2017-12-041-0/+9
|
* ada/sp19: Add missing FP attributeSebastian Huber2017-12-021-2/+2
|
* ada/sp07: Fix uninitialized variableSebastian Huber2017-12-011-0/+2
| | | | | | Bug was introduced by d5154d0f6a04f3b7ed59d9a09038576fe2640756. Updates #2493.
* ada: Fix user extension supportSebastian Huber2017-12-011-2/+2
|
* ada: Use CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber2017-12-011-0/+2
| | | | | | Most Ada tests fail otherwise. Update #3020.
* ada/tm20: Account for optional heap protectionSebastian Huber2017-12-011-3/+3
| | | | | Reduce size of the big allocation block to account for the optional heap protection (RTEMS_DEBUG).
* ada/spname01: Fix several issuesSebastian Huber2017-12-013-9/+9
|
* ada: Add standard test begin/end messageSebastian Huber2017-12-01144-144/+324
|
* ada: Delete superfluous CONFIGURE_SPTESTSebastian Huber2017-12-0124-48/+0
|
* block06/init.c: Fix printf() format warningJoel Sherrill2017-11-291-5/+4
|
* Remove coverhd.hSebastian Huber2017-11-2480-166/+113
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* libtests/malloctest: Fix 64-bit targetsSebastian Huber2017-11-241-4/+6
| | | | Update #3082.
* libtests/stringto01: Fix 64-bit targetsSebastian Huber2017-11-241-2/+2
| | | | Update #3082.
* sptests/splinkersets01: Fix 64-bit targetsSebastian Huber2017-11-241-4/+16
| | | | Update #3082.
* ada/sp04: Fix clock getSebastian Huber2017-11-241-1/+1
| | | | Update #2676.
* tests: Use exponential backoff in locked_vprintf()Sebastian Huber2017-11-221-3/+19
| | | | | Without the exponential backoff a livelock was observed on a QorIQ P2020 with test SMP 5.
* sapi: New implementation of rtems_panic()Sebastian Huber2017-11-221-10/+5
| | | | | | | | | | | | The previous rtems_panic() implementation was quite heavy weight. It depended on _exit() which calls the global destructors. It used fprintf(stderr, ...) for output which depends on an initialized console device and the complex fprintf(). Introduce a new fatal source RTEMS_FATAL_SOURCE_PANIC for rtems_panic() and output via vprintk(). Update #3244.
* INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULLSebastian Huber2017-11-221-1/+1
| | | | | | Delete superfluous INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL. Update #3243.
* score: Simplify global constructionSebastian Huber2017-11-227-3/+128
| | | | Update #3243.
* score: Optimize scheduler priority updatesSebastian Huber2017-11-202-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thread priority changes may append or prepend the thread to its priority group on the scheduler ready queue. Previously, a separate priority value and a prepend-it flag in the scheduler node were used to propagate a priority change to the scheduler. Now, use an append-it bit in the priority control and reduce the plain priority value to 63 bits. This change leads to a significant code size reduction (about 25%) of the SMP schedulers. The negligible increase of the standard priority scheduler is due to some additional shift operations (SCHEDULER_PRIORITY_MAP() and SCHEDULER_PRIORITY_UNMAP()). Before: text filename 136 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleblock.o 464 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimplechangepriority.o 24 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimple.o 108 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleschedule.o 292 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleunblock.o 264 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleyield.o text filename 280 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityblock.o 488 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerprioritychangepriority.o 200 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriority.o 164 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityschedule.o 328 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityunblock.o 200 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityyield.o text filename 24112 arm-rtems5/c/imx7/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 37204 sparc-rtems5/c/gr740/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 42236 powerpc-rtems5/c/qoriq_e6500_32/cpukit/score/src/libscore_a-scheduleredfsmp.o After: text filename 136 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleblock.o 272 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimplechangepriority.o 24 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimple.o 108 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleschedule.o 292 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleunblock.o 264 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleyield.o text filename 280 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityblock.o 488 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerprioritychangepriority.o 208 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriority.o 164 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityschedule.o 332 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityunblock.o 200 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityyield.o text filename 18860 arm-rtems5/c/imx7/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 28520 sparc-rtems5/c/gr740/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 32664 powerpc-rtems5/c/qoriq_e6500_32/cpukit/score/src/libscore_a-scheduleredfsmp.o
* getentropy: Add test.Christian Mauderer2017-11-176-0/+142
| | | | Update #3239.
* cpukit: Add _arc4random_getentropy_fail.Christian Mauderer2017-11-171-1/+1
| | | | | | | Add a default implementation of _arc4random_getentropy_fail with an internal error. Update #3239.
* sptests/spversion01: Simplify configurationSebastian Huber2017-11-171-9/+2
| | | | Update #3199.
* psx05: Remove CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber2017-11-161-2/+0
| | | | Update #3020.
* score: Fix priority ceiling updatesSebastian Huber2017-11-161-2/+56
| | | | | | | | | | | | We must not clear the priority updates in _Thread_queue_Extract_locked() since this function is used by the priority ceiling surrender operations after the ceiling priority handover from the previous owner to the new owner. This is especially important in SMP configurations. Move the _Thread_queue_Context_clear_priority_updates() invocation to the callers. Close #3237.
* score: Fix _Thread_queue_Flush_critical()Sebastian Huber2017-11-161-33/+70
| | | | | | | | | The thread queue extract operations performed by the _Thread_queue_Flush_critical() may result in a priority change of the thread queue owner. Carry out the scheduler priority update operation. This is especially important in SMP configurations. Close #3236.
* rtems: rtems_semaphore_flush() with prio inheritSebastian Huber2017-11-161-11/+47
| | | | | | | | | The _Semaphore_Get_operations() must return the proper operations for priority inheritance semaphores. Add a test case for rtems_semaphore_flush() with priority inheritance. Close #3235.
* dl01, dl02, dl05: Fix unresolved printf symbolSebastian Huber2017-11-154-11/+18
| | | | | | | | The link time wrap of printf leads to unresolved symbols in the loadable modules. This resulted in infinite loops and test timeouts. Use rtems_printf() for output. Update #3199.
* Change RTEMS_API from 5.0 to 5Sebastian Huber2017-11-131-1/+1
| | | | | | | This fixes the legacy Makefile based build system which expects RTEMS_API to be identical to the tool chain version. Update #3220.
* tests: Use ld to map (wrap) printf, puts and putchar to tester functions.Chris Johns2017-11-118-52/+6
| | | | | | | | | - Remove the macro defines and the need for tmacro.h by remapping the symbols using ld's wrap option. - Remove FLUSH_OUTPUT, it was empty. - Move rtems_test_exit to libmisc/testsupport as a function. Update #3199.
* tests: Use rtems_test_begin and rtems_test_end.Chris Johns2017-11-113-47/+6
| | | | | | Add a tests enum and move all test banner test to the library in libmisc. Update #3199.
* cpukit: Add a Version API.Chris Johns2017-11-106-0/+125
| | | | | | | | Provide functions to get the version string, major, minor and revision numbers and the version control identifer that is a unique tag for the version control system. Update #3199.
* pppd/Makefile.am: Add support/includeJoel Sherrill2017-11-091-0/+2
|
* Upgrade to 5.0.0Sebastian Huber2017-11-091-2/+2
| | | | | | | Tool name will be "rtems5", e.g. arm-rtems5-gcc. Next release will 5.1.0. Branch version after release will be 5.1.1. Next master will be 6.0.0.
* posix: Change created_with_explicit_schedulerSebastian Huber2017-11-091-6/+62
| | | | | | | | Remove POSIX_API_Control::created_with_explicit_scheduler. Add Thread_Control::was_created_with_inherited_scheduler. This fixes also pthread_getattr_np() for Classic tasks. Update #2514.
* posix: Remove POSIX_API_Control::schedpolicySebastian Huber2017-11-091-12/+14
| | | | | | | Use the thread CPU budget algorithm to determine the scheduler policy. This fixes also pthread_getschedparam() for Classic tasks. Update #2514.
* sptests/spconsole01: New testSebastian Huber2017-11-086-0/+932
|
* termios: Fix canonical modeSebastian Huber2017-11-071-20/+77
| | | | | | | In canonical mode, input is made available line by line. We must stop the canonical buffer filling upon reception of an end-of-line character. Close #3218.