summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* psxtests: Add test document file to psx09.Steven Kou2013-11-251-0/+25
|
* psxtests: Add test document file to psx08.Steven Kou2013-11-251-0/+28
|
* psxtests: add psx01/psx01.docAnnelies Odermann2013-11-221-0/+36
|
* Misc tests: Fix scn files and adjust outputJoel Sherrill2013-11-184-23/+105
|
* psxtests/psxfile01: Fix according to POSIXSebastian Huber2013-09-131-4/+4
| | | | | | | | | | | | | | | | | ftruncate() and open() with O_TRUNC shall upon successful completion mark for update the st_ctime and st_mtime fields of the file. truncate() shall upon successful completion, if the file size is changed, mark for update the st_ctime and st_mtime fields of the file. The POSIX standard "The Open Group Base Specifications Issue 7", IEEE Std 1003.1, 2013 Edition says nothing about the behaviour of truncate() if the file size remains unchanged. Future directions of the standard may mandate the behaviour specified in ftruncate(): http://austingroupbugs.net/view.php?id=489
* posix: Add and use _POSIX_signals_Acquire()Sebastian Huber2013-08-271-1/+2
| | | | | | Add and use _POSIX_signals_Release(). The post-switch handler is not protected by disabled thread dispatching. Use proper SMP lock for signal management.
* psxtests/psxfatal0[12]: Update due to API changesSebastian Huber2013-08-232-4/+8
|
* posix: Update to the pthread_once changes.Chris Johns2013-08-232-12/+32
| | | | | | Implement the reeview changes. Add a POSIX Fatal error domain. Fix confdefs.h to correctly handle the internal POSIX mutexes.
* PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__Sebastian Huber2013-08-084-5/+0
|
* psxtests/psx14: Include missing header fileSebastian Huber2013-08-061-0/+1
|
* Unlimited objects support for POSIX keysZhongwei Yao2013-08-0632-5/+1337
| | | | | | | This patch enables unlimited model in POSIX key manger and have a decent runtime on POSIX key searching, adding and deleting operations. Memory overhead is lower than current implementation when the size of key and key value becomes big.
* score: Rename tod.h to todimpl.hSebastian Huber2013-08-013-3/+3
|
* score: Add and use _Thread_Update_cpu_time_used()Sebastian Huber2013-08-011-4/+5
| | | | Fix _times().
* score: Merge tod implementation into one fileSebastian Huber2013-07-263-0/+6
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* score: Create object implementation headerSebastian Huber2013-07-261-1/+2
| | | | | | Move implementation specific parts of object.h and object.inl into new header file objectimpl.h. The object.h contains now only the application visible API.
* score: Create stack implementation headerSebastian Huber2013-07-232-2/+4
| | | | | | Move implementation specific parts of stack.h and stack.inl into new header file stackimpl.h. The stack.h contains now only the application visible API.
* posix: Create timer implementation headerSebastian Huber2013-07-221-0/+1
| | | | | | Move implementation specific parts of timer.h and timer.inl into new header file timerimpl.h. The timer.h contains now only the application visible API.
* posix: Create pthread implementation headerSebastian Huber2013-07-222-2/+2
| | | | | | Move implementation specific parts of pthread.h and pthread.inl into new header file pthreadimpl.h. The pthread.h contains now only the application visible API.
* posix: Create priority implementation headerSebastian Huber2013-07-221-1/+0
| | | | | | Move implementation specific parts of priority.h and priority.inl into new header file priorityimpl.h. Remove priority.h since there is no application visible API.
* testsuites: Use _Thread_Get_executing()Sebastian Huber2013-07-222-2/+2
|
* testsuites: Include missing header filesSebastian Huber2013-07-224-0/+4
|
* psxtests/psxcleanup: Fix cleanup push/pop testSebastian Huber2013-07-051-4/+3
| | | | | The pthread_cleanup_push() and pthread_cleanup_pop() statements must appear as a pair in the same lexical scope as required by POSIX.