summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* libtests/newlib01: New testSebastian Huber2014-04-016-0/+347
|
* smptests/smpthreadlife01: Avoid bad profiling statSebastian Huber2014-04-011-1/+5
|
* score: PR2172: _Thread_queue_Extract()Sebastian Huber2014-04-011-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add _Thread_queue_Extract_with_return_code(). On SMP this sequence in _Thread_queue_Process_timeout() was broken: [...] /* * After we enable interrupts here, a lot may happen in the * meantime, e.g. nested interrupts may release the resource that * times out here. So we enter _Thread_queue_Extract() * speculatively. Inside this function we check the actual status * under ISR disable protection. This ensures that exactly one * executing context performs the extract operation (other parties * may call _Thread_queue_Dequeue()). If this context won, then * we have a timeout. * * We can use the_thread_queue pointer here even if * the_thread->Wait.queue is already set to NULL since the extract * operation will only use the thread queue discipline to select * the right extract operation. The timeout status is set during * thread queue initialization. */ we_did_it = _Thread_queue_Extract( the_thread_queue, the_thread ); if ( we_did_it ) { the_thread->Wait.return_code = the_thread_queue->timeout_status; } [...] In case _Thread_queue_Extract() successfully extracted a thread, then this thread may start execution on a remote processor immediately and read the the_thread->Wait.return_code before we update it here with the timeout status. Thus it observes a successful operation even if it timed out.
* smptests/smpthreadlife01: TypoSebastian Huber2014-03-311-5/+0
|
* smptests/smpthreadlife01: Add test casesSebastian Huber2014-03-312-11/+159
|
* sptests/sptask_err04: Fix broken testSebastian Huber2014-03-313-3/+5
|
* score: Delete CORE_mutex_Control::lockSebastian Huber2014-03-311-2/+2
| | | | | | | | The holder field is enough to determine if a mutex is locked or not. This leads also to better error status codes in case a rtems_semaphore_release() is done for a mutex without having the ownership.
* score: Do not reset resource count during restartSebastian Huber2014-03-316-0/+389
| | | | | | | This fixes an integer underflow problem in case resources are released after a thread restart. Add new test sptests/spthreadlife01.
* score: PR2152: Use allocator mutex for objectsSebastian Huber2014-03-311-0/+2
| | | | | Use allocator mutex for objects allocate/free. This prevents that the thread dispatch latency depends on the workspace/heap fragmentation.
* score: Thread life cycle re-implementationSebastian Huber2014-03-313-4/+80
| | | | | | | | | | | | | | | | | | | The thread deletion is now supported on SMP. This change fixes the following PRs: PR1814: SMP race condition between stack free and dispatch PR2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract() The POSIX cleanup handler are now called in the right context (should be called in the context of the terminating thread). http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html Add a user extension the reflects a thread termination event. This is used to reclaim the Newlib reentrancy structure (may use file operations), the POSIX cleanup handlers and the POSIX key destructors.
* score: Fix thread restart extensions contextSebastian Huber2014-03-311-3/+84
| | | | | Run the thread restart extensions in the context of the restarted thread. Run them with thread dispatching enabled.
* score: Use thread action for thread restartSebastian Huber2014-03-317-24/+157
| | | | | The thread restart is now supported on SMP. New test smptests/smpthreadlife01.
* tests/fatal: Fix test namesSebastian Huber2014-03-315-5/+5
|
* psxtests/psxconfig01: Fix for POSIX keys configSebastian Huber2014-03-311-1/+1
|
* smptests/smpfatal03: Fix end of test outputSebastian Huber2014-03-311-5/+12
|
* sptests/sp44: Fix end of test outputSebastian Huber2014-03-311-1/+2
|
* sptests: New tests split from sp09 screen 1 and screen 2.Bjorn Larsson2014-03-2827-435/+444
| | | | | | Split sp09 screen 1 into new test sptask_err04. Split sp09 screen 2 into new tests sptask__err02 and spclock_err01, as well as moving one verification into sptimer_err01.
* sptask_err03: New test split from sp09 screen 3.Bjorn Larsson2014-03-2810-34/+151
|
* spevent_err03: New test split from sp09 screen 4.Bjorn Larsson2014-03-2810-28/+122
|
* sptests: split sp09 screen 5,6 into spsem_err01, spsem_err02, and sptask_err01.Bjorn Larsson2014-03-2822-79/+574
| | | | | sp09 screen 5 split into spsem_err01, sp09 screen 6 split into spsem_err02, and sptask_err01.
* sptests: Split sp09 screens 7,8 into spmsg1_err01 and spmsgq_err02.Bjorn Larsson2014-03-2817-85/+396
| | | | | | spmsgq_err01 test replaces rtems_message_queue_XXX error tests from sp09 screen 7. spmsgq_err02 replaces rtems_message_queue_XXX error tests from sp09 screen 8.
* spport_err01: New test split from sp09Bjorn Larsson2014-03-2811-29/+139
| | | | This test verifies rtems_port_XXX error tests from sp09 screen 9.
* spsignal_err01: New test split from sp09.Bjorn Larsson2014-03-2810-31/+205
| | | | | This test moves rtems_signal_send error testing from sp09 screen 9 into its own test.
* spintr_err01: New test split from sp09.Bjorn Larsson2014-03-2810-44/+217
| | | | | This test contains the interrupt catch error tests from sp09 screen 9.
* spratemon_err01: New test split from sp09.Bjorn Larsson2014-03-2814-53/+201
|
* samples/base_mp: Include missing header fileSebastian Huber2014-03-271-0/+2
|
* privateenv: Use POSIX keys instead of task variables.Christian Mauderer2014-03-2715-4/+99
|
* privateenv: Remove sharing of user environment between threads.Christian Mauderer2014-03-275-50/+23
|
* tests: Produce proper begin/end messagesSebastian Huber2014-03-256-18/+61
|
* tmtests/tmcontext01: Use <rtems/test.h>Sebastian Huber2014-03-251-11/+5
|
* score: Delete _Watchdog_Report()Sebastian Huber2014-03-254-37/+0
| | | | | | | Delete _Watchdog_Report_chain(). These two functions use printk() with thread dispatching and interrupts disabled. So they are pretty useless in real applications. They are not part of the application APIs. They are only used in one test and do nothing useful in this test.
* sptests/spprintk: Use <rtems/test.h>Sebastian Huber2014-03-251-2/+4
|
* psxtmtests: Add test.h supportbjorn larsson2014-03-2544-88/+176
|
* tmtests: convert to test.hbjorn larsson2014-03-2533-66/+132
|
* tests/sptests: Use <rtems/test.h>Sebastian Huber2014-03-25224-313/+896
|
* tests/psxtests: Use <rtems/test.h>Sebastian Huber2014-03-25131-190/+543
|
* tests: Use rtems_status_text()Sebastian Huber2014-03-252-58/+2
|
* libcsupport: Use POSIX keys for GXX key functionsChristian Mauderer2014-03-245-11/+37
| | | | | With this patch C++ applications now eventually need additional POSIX-keys and POSIX-key-value-pairs configured.
* libcsupport: Remove unused gxx-wrapper function.Christian Mauderer2014-03-243-9/+0
| | | | The rtems_gxx_key_dtor function is not longer used by gcc.
* posix: Prevent pthread_setspecific from returning EAGAIN.Christian Mauderer2014-03-243-0/+11
| | | | | | | | The man-page for pthread_setspecific does not define the EAGAIN return value. Further without this patch it was not possible to set keys that have been already set a new value. Add test for setting a new value to a already set key.
* smptests/smpload01: Improve testSebastian Huber2014-03-212-122/+512
| | | | | Add a task producing memory traffic. Add tasks to obtain a priority inheritance semaphore in a synchronized way.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211420-1420/+1420
|
* fstests/fsrename: Fix stack corruptionSebastian Huber2014-03-202-30/+56
| | | | Use snprintf() instead of sprintf(). Include missing header files.
* cpukit/shell: Replace task variables with posix keys.Christian Mauderer2014-03-202-2/+6
| | | | | | | | | | | | Use posix keys for current shell environment instead of task variables. With this patch the shell needs one posix-key and one posix-key-value-pair configured. Update documentation for the shell. Adapt samples/fileio: - Add necessary objects. - Add login function and custom device name for better testing of the shell.
* tests/libtests: Use <rtems/test.h>Sebastian Huber2014-03-2082-146/+449
|
* tests/fstests: Remove duplicate begin/end messagesSebastian Huber2014-03-2012-31/+7
| | | | Fix file system names. Remove superfluous defines.
* psxonce01: Add call counter to check if init function has been called.Christian Mauderer2014-03-191-13/+14
|
* psxtests: move pthread_once tests into an extra test.Christian Mauderer2014-03-1911-44/+152
|
* posix: Use interal mutex for once implementationSebastian Huber2014-03-191-2/+1
| | | | | | Enable pthread_once() for all configurations. The pthread_once() function is one means to initialize POSIX keys. Another use case is the C++ support.
* smptests/smpload01: Use test extensionSebastian Huber2014-03-171-0/+2
|