summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-06-16Add pthread_condattr_getclock() and pthread_condattr_setclock()Joel Sherrill6-1/+170
updates #2608.
2016-06-15psxtests/psx12: Use and print proper rounded msSebastian Huber2-21/+26
Update #2738.
2016-06-15posix: Fix poradic server initial CPU budgetSebastian Huber2-14/+107
Update #2738.
2016-06-15psxtests/psx12: Use one file and simplifySebastian Huber5-134/+33
2016-06-13posix: Add pthread_setschedprio()Sebastian Huber1-0/+30
Close #2734.
2016-06-13posix: Fix pthread_setschedparam()Sebastian Huber1-0/+54
Close #2735.
2016-06-13posix: Fix pthread_getschedparam()Sebastian Huber1-0/+46
Return the unmodified thread priority value according to POSIX. Close #2736.
2016-05-26posix: Fix sem_init() with too large initial valueSebastian Huber1-0/+12
Close #2721.
2016-05-26Fix semaphore post overflow statusSebastian Huber1-0/+34
Close #2720.
2016-05-25posix: Fix pthread_spin_unlock() error statusSebastian Huber2-5/+11
Close #2719.
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns1-3/+5
This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
2016-05-24psxtests/psxmsgq01: Fix typoSebastian Huber1-1/+1
2016-05-24score: Fix blocking _CORE_message_queue_Submit()Sebastian Huber2-0/+78
Close #2718.
2016-05-24psxtests/psxmsgq01: Enable test caseSebastian Huber2-5/+4
2016-05-20psxclassic01: Assume correct pthread_detach()Sebastian Huber2-10/+31
Update #2714.
2016-05-18psxtests/psxualarm: Avoid output in signal handlerSebastian Huber2-14/+7
Avoid output in signal handler to not disturb the timings which are checked in this test. Use asserts to ensure proper signal handler invocations.
2016-05-17posix: Fix return states of pthread_kill()Sebastian Huber1-6/+2
POSIX mandates that an error code is returned and not -1 plus errno. Close #2715.
2016-05-17psxtests/psxcancel: Add pthread_detach() testsSebastian Huber2-0/+87
Update #2714.
2016-05-17psxtests/psxcancel: Add resource checkSebastian Huber1-8/+26
2016-05-17posix: Fix return status of pthread_cancel()Sebastian Huber1-2/+2
POSIX recommends ESRCH in case no thread exists for the specified identifier. Close #2713.
2016-05-04rtems: Remove task variablesSebastian Huber1-29/+0
Update #2494. Update #2555.
2016-05-04confdefs.h: Fix named object size estimateSebastian Huber1-5/+5
Account for the terminating null character. Use _POSIX_PATH_MAX instead of NAME_MAX according to _POSIX_Semaphore_Manager_initialization() and _POSIX_Message_queue_Manager_initialization().
2016-05-02posix: Simplify message queuesSebastian Huber2-6/+0
The mq_open() function returns a descriptor to a POSIX message queue object identified by a name. This is similar to sem_open(). In contrast to the POSIX semaphore the POSIX message queues use a separate object for the descriptor. This extra object is superfluous, since the object identifier can be used directly for this purpose, just like for the semaphores. Update #2702. Update #2555.
2016-04-21score: Simplify _Objects_Initialize_information()Sebastian Huber1-6/+2
Remove unused supports_global parameter. Convert _Objects_Initialize_information() to a macro to avoid use of RTEMS_MULTIPROCESSING define for each caller.
2016-04-21posix: Avoid Giant lock for mutexesSebastian Huber3-1/+48
Delete _POSIX_Mutex_Get(). Use _POSIX_Mutex_Get_interrupt_disable() instead. Update #2555.
2016-04-21score: Fix _CORE_semaphore_Flush()Sebastian Huber1-1/+51
Use proper CORE_semaphore_Status for _CORE_semaphore_Flush() and _CORE_semaphore_Destroy() operations. Close #2696.
2016-04-14Add pthread_getconcurrency() and pthread_setconcurrency()Joel Sherrill9-1/+186
This is the very simple implementation specified by the Open Group for implementations with 1:1 kernel thread to user thread mappings. http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_getconcurrency.html updates #2680.
2016-04-14posix: Run key destructors during thread restartSebastian Huber2-13/+100
POSIX key destructors must be called during thread restart. Just like the POSIX cleanup handlers. This ensures that the TLS object destructors are called during thread restart for example. It is important for the global construction, which uses a thread restart to run the Init task in a clean environment. Close #2689.
2016-03-22psxtests/psxobj01: Fix for RTEMS_DEBUGSebastian Huber1-0/+7
2016-03-18score: Add _Objects_Get_by_name()Sebastian Huber6-67/+62
Replace _Objects_Name_to_id_string() with _Objects_Get_by_name() since all users of this function are interested in the object itself and not the identifier. Use the object allocator lock to protect the search. Update #2555.
2016-03-04score: Replace watchdog handler implementationSebastian Huber1-1/+6
Use a red-black tree instead of delta chains. Close #2344. Update #2554. Update #2555. Close #2606.
2016-02-22psxtests/psxualarm: Add test casesSebastian Huber1-38/+35
Update #2344.
2016-02-22psxtests/psxalarm01: Add adjtime() test caseSebastian Huber1-29/+19
Update #2606.
2016-01-26psxtests: Disable POSIX only psxcleanup02Sebastian Huber1-1/+1
2016-01-19psxtests: Fix link-time errorsSebastian Huber6-93/+2
Fix link-time errors introduced by e39cdb875ce7458787b0be173f2f7893a774a673. Update #2531.
2016-01-08score: Add fatal errors for NULL entry init tasksSebastian Huber1-2/+3
This simplifies the global construction. Update #2514.
2016-01-05Filesystem: Remove superfluous permission checksSebastian Huber1-5/+0
The permission is check by the upper layer.
2016-01-04Remove H8300 portJoel Sherrill1-1/+1
updates #2452.
2015-12-15psxtests/psxcleanup02: New testSebastian Huber7-0/+159
2015-10-27CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checkedJoel Sherrill1-2/+2
closes #2431.
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber1-3/+3
2015-09-02posix: glibc compatibilitySebastian Huber2-7/+7
2015-09-01psxtests/psxcancel: Check return statusSebastian Huber1-10/+24
Update #2402.
2015-05-19psxualarm: Avoid endless signal handlingSebastian Huber1-2/+2
Increase the ualarm timer interval to avoid endless signal handling.
2015-04-14Add test assertion for allocator mutex being unlockedJoel Sherrill2-19/+0
The Allocator Mutex should not be locked outside a tested service call. In an SMP test or heavily multithreaded test, this is possible since another thread could have the lock for an extended period of time but this is not the norm for the tests. updates 2319.
2015-03-24psxconfig01/init.c: Correct pointer/integer size warningJoel Sherrill1-1/+1
2015-03-24psxtests/psx15/init.c: Correct printf() warningJoel Sherrill1-1/+3
2015-03-22testsuites/psxtests/psxsignal03/init.c: Fix line wrapJoel Sherrill1-1/+5
2015-03-20Replace www.rtems.com with www.rtems.orgSebastian Huber1-1/+1
2015-03-17tests misc: Disable deprecated method usage warning when intentionalJoel Sherrill1-4/+10
These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted.