summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuites: Avoid clock driverSebastian Huber2014-10-142-2/+2
|
* score: Rework global constructionSebastian Huber2014-10-1310-1/+209
| | | | | | Ensure that the global construction is performed in the context of the first initialization thread. On SMP this was not guaranteed in the previous implementation.
* posix: Add auto initializaton for rwlockSebastian Huber2014-10-081-0/+37
|
* psxtests/psxonce01: Use test extensionSebastian Huber2014-09-101-0/+2
|
* tests: Rework interrupt critical testsSebastian Huber2014-09-101-23/+19
| | | | | | | | | This avoids test durations of more than one hour on fast targets, since fast targets can count a lot during one clock tick period, so the minor loop iteration count was quite high. Estimate now the test body duration to iterate only through the interesting time window. Add and use interrupt_critical_section_test().
* Add _TOD_Adjust to SCORE TOD Handler.Joel Sherrill2014-07-232-4/+18
| | | | | | | | This lays the proper structure for doing future work on time adjustment algorithms. Any TOD adjustments should be requested at the API level and performed at the SCORE level. Additionally updated a test.
* testsuite: Add a per BSP test check for tests not to build.Chris Johns2014-05-051-8/+8
| | | | | | | | Provide a file per BSP to list tests that do not build for a BSP. This change removes the BSP_SMALL_MEMORY hack from the code. That hack was a mistake. Provide configuration files for each BSP with tests that cannot build.
* psxtests/psxkey02: Test for proper error caseSebastian Huber2014-04-072-37/+14
|
* Disable per task variables when SMP is enabledJoel Sherrill2014-04-041-2/+11
| | | | | | Per task variables are inherently unsafe in SMP systems. This patch disables them from the build and adds warnings in the appropriate documentation and configuration sections.
* score: Thread life cycle re-implementationSebastian Huber2014-03-311-0/+9
| | | | | | | | | | | | | | | | | | | 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.
* tests/fatal: Fix test namesSebastian Huber2014-03-311-1/+1
|
* psxtests/psxconfig01: Fix for POSIX keys configSebastian Huber2014-03-311-1/+1
|
* privateenv: Use POSIX keys instead of task variables.Christian Mauderer2014-03-272-0/+4
|
* tests: Produce proper begin/end messagesSebastian Huber2014-03-251-3/+3
|
* tests/psxtests: Use <rtems/test.h>Sebastian Huber2014-03-25131-190/+543
|
* tests: Use rtems_status_text()Sebastian Huber2014-03-251-29/+1
|
* 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.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-21354-354/+354
|
* 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.
* psxtests/psxkey07: Do not allocate task IDsSebastian Huber2014-03-121-5/+4
|
* psxtests/psxkey07: Limit workspace sizeSebastian Huber2014-03-121-0/+8
| | | | This avoids large test execution times on targets with a big RAM.
* psxtests/psxkey07: Account for RTEMS_TOO_MANYSebastian Huber2014-03-121-2/+3
|
* psxtests/psxkey08: Limit workspace sizeSebastian Huber2014-03-121-3/+9
| | | | This avoids large test execution times on targets with a big RAM.
* psxtests/psxkey08: Do not allocate task IDsSebastian Huber2014-03-121-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | We have a unified work area. So depending on the memory layout the task_id_p = malloc( sizeof( rtems_id ) ); rtems_test_assert( task_id_p ); or the sc = rtems_task_create( rtems_build_name('T','A',created_task_count, ' '), 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES, RTEMS_DEFAULT_ATTRIBUTES, task_id_p ); rtems_test_assert( (sc == RTEMS_UNSATISFIED) || (sc == RTEMS_TOO_MANY) || (sc == RTEMS_SUCCESSFUL) ); may fail. If we are unlucky then we hit the first case and the test fails.
* POSIX keys now enabled in all configurations.Joel Sherrill2014-03-0723-355/+378
| | | | | | | Formerly POSIX keys were only enabled when POSIX threads were enabled. Because they are a truly safe alternative to per-task variables in an SMP system, they are being enabled in all configurations.
* Remove trailing whitespace in previous patchesJennifer Averett2014-03-072-10/+10
|
* psxtests: Added test for pthread_getattr_np().Jennifer Averett2014-03-076-1/+261
|
* psxtests: Correct bug in check of affinity support in newlib.Jennifer Averett2014-02-171-6/+16
|
* score: Change debug helper functionsSebastian Huber2014-02-121-2/+2
| | | | | | | | Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text().
* testsuite/psx13: Add linefeed to end of test message.Chris Johns2014-01-191-2/+2
| | | | | | The lack of a line feed means the output from the test runs into the MI protocol on GDB as the broken simulator output currently is not passing through gdb's MI protocol layer.
* psximfs02: Clean up outputJoel Sherrill2014-01-072-3/+4
|
* psxtime: Added doc file.Shaily Sangwan2014-01-031-0/+24
|
* pskey09, sp17: documentation cleanup.Mandar Juvekar2014-01-031-6/+7
|
* psx03: Add doc fileRishi Sharma2013-12-261-0/+27
|
* psxtests/psx14: Add doc fileMandar Juvekar2013-12-241-0/+28
|
* psxtests/psxfatal01: add doc fileMandar Juvekar2013-12-201-0/+18
|
* libcsupport: Accept NULL for zero-length entriesSebastian Huber2013-12-201-2/+2
|
* libcsupport: Add and use rtems_libio_iovec_eval()Sebastian Huber2013-12-202-6/+35
|
* psxtests: add psxcleanup/psxcleanup.docAnukul Sangwan2013-12-181-0/+18
|
* psxtests/configure.ac: Probe for SMP affinity methodsJoel Sherrill2013-12-131-0/+21
|
* psxsignal06: Fix bug where mutex not locked and add EPERM error checkJoel Sherrill2013-12-101-1/+4
| | | | | | | This test formerly had a bug in that it attempted to wait on a condition variable with a Mutex that was not locked. This is undefined by POSIX. But a recent change to match GNU/Linux behavior resulted in finding a bug in the test.
* psxtmcond01: Fix bug where mutex not locked and add EPERM error checkJoel Sherrill2013-12-103-4/+20
| | | | | | | This test formerly had a bug in that it attempted to wait on a condition variable with a Mutex that was not locked. This is undefined by POSIX. But a recent change to match GNU/Linux behavior resulted in finding a bug in the test.
* posix: Use cleanup contexts on the stackSebastian Huber2013-12-021-7/+0
| | | | | | | | | | Provide support for latest Newlib <pthread.h> change. The cleanup contexts are stored on the thread stack. This is conformant with the POSIX requirements for the pthread_cleanup_push() and pthread_cleanup_pop() statement pair. Passing an invalid pointer as the routine to pthread_cleanup_push() is now a usage error and the behaviour is undefined.
* psx07.doc: New fileAnnelies Odermann2013-11-302-1/+77
|
* fixed psxtmthread02 test, updated .csv to be in sync and added test .docsDaniel Ramirez2013-11-301-0/+21
|
* psxtests: add documentation for psx05Chirayu Desai2013-11-292-1/+39
|
* psxtests: Add test document file to psx06.Steven Kou2013-11-271-0/+34
|