summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* psxtests/psx12: Use and print proper rounded msSebastian Huber2016-06-152-21/+26
| | | | Update #2738.
* posix: Fix poradic server initial CPU budgetSebastian Huber2016-06-152-14/+107
| | | | Update #2738.
* psxtests/psx12: Use one file and simplifySebastian Huber2016-06-155-134/+33
|
* posix: Add pthread_setschedprio()Sebastian Huber2016-06-131-0/+30
| | | | Close #2734.
* posix: Fix pthread_setschedparam()Sebastian Huber2016-06-131-0/+54
| | | | Close #2735.
* posix: Fix pthread_getschedparam()Sebastian Huber2016-06-131-0/+46
| | | | | | Return the unmodified thread priority value according to POSIX. Close #2736.
* posix: Fix sem_init() with too large initial valueSebastian Huber2016-05-261-0/+12
| | | | Close #2721.
* Fix semaphore post overflow statusSebastian Huber2016-05-261-0/+34
| | | | Close #2720.
* posix: Fix pthread_spin_unlock() error statusSebastian Huber2016-05-252-5/+11
| | | | Close #2719.
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-251-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.
* psxtests/psxmsgq01: Fix typoSebastian Huber2016-05-241-1/+1
|
* score: Fix blocking _CORE_message_queue_Submit()Sebastian Huber2016-05-242-0/+78
| | | | Close #2718.
* psxtests/psxmsgq01: Enable test caseSebastian Huber2016-05-242-5/+4
|
* psxclassic01: Assume correct pthread_detach()Sebastian Huber2016-05-202-10/+31
| | | | Update #2714.
* psxtests/psxualarm: Avoid output in signal handlerSebastian Huber2016-05-182-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.
* posix: Fix return states of pthread_kill()Sebastian Huber2016-05-171-6/+2
| | | | | | POSIX mandates that an error code is returned and not -1 plus errno. Close #2715.
* psxtests/psxcancel: Add pthread_detach() testsSebastian Huber2016-05-172-0/+87
| | | | Update #2714.
* psxtests/psxcancel: Add resource checkSebastian Huber2016-05-171-8/+26
|
* posix: Fix return status of pthread_cancel()Sebastian Huber2016-05-171-2/+2
| | | | | | | POSIX recommends ESRCH in case no thread exists for the specified identifier. Close #2713.
* rtems: Remove task variablesSebastian Huber2016-05-041-29/+0
| | | | | Update #2494. Update #2555.
* confdefs.h: Fix named object size estimateSebastian Huber2016-05-041-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().
* posix: Simplify message queuesSebastian Huber2016-05-022-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.
* score: Simplify _Objects_Initialize_information()Sebastian Huber2016-04-211-6/+2
| | | | | | Remove unused supports_global parameter. Convert _Objects_Initialize_information() to a macro to avoid use of RTEMS_MULTIPROCESSING define for each caller.
* posix: Avoid Giant lock for mutexesSebastian Huber2016-04-213-1/+48
| | | | | | | Delete _POSIX_Mutex_Get(). Use _POSIX_Mutex_Get_interrupt_disable() instead. Update #2555.
* score: Fix _CORE_semaphore_Flush()Sebastian Huber2016-04-211-1/+51
| | | | | | | Use proper CORE_semaphore_Status for _CORE_semaphore_Flush() and _CORE_semaphore_Destroy() operations. Close #2696.
* Add pthread_getconcurrency() and pthread_setconcurrency()Joel Sherrill2016-04-149-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.
* posix: Run key destructors during thread restartSebastian Huber2016-04-142-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.
* psxtests/psxobj01: Fix for RTEMS_DEBUGSebastian Huber2016-03-221-0/+7
|
* score: Add _Objects_Get_by_name()Sebastian Huber2016-03-186-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.
* score: Replace watchdog handler implementationSebastian Huber2016-03-041-1/+6
| | | | | | | | | Use a red-black tree instead of delta chains. Close #2344. Update #2554. Update #2555. Close #2606.
* psxtests/psxualarm: Add test casesSebastian Huber2016-02-221-38/+35
| | | | Update #2344.
* psxtests/psxalarm01: Add adjtime() test caseSebastian Huber2016-02-221-29/+19
| | | | Update #2606.
* psxtests: Disable POSIX only psxcleanup02Sebastian Huber2016-01-261-1/+1
|
* psxtests: Fix link-time errorsSebastian Huber2016-01-196-93/+2
| | | | | | | Fix link-time errors introduced by e39cdb875ce7458787b0be173f2f7893a774a673. Update #2531.
* score: Add fatal errors for NULL entry init tasksSebastian Huber2016-01-081-2/+3
| | | | | | This simplifies the global construction. Update #2514.
* Filesystem: Remove superfluous permission checksSebastian Huber2016-01-051-5/+0
| | | | The permission is check by the upper layer.
* Remove H8300 portJoel Sherrill2016-01-041-1/+1
| | | | updates #2452.
* psxtests/psxcleanup02: New testSebastian Huber2015-12-157-0/+159
|
* CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checkedJoel Sherrill2015-10-271-2/+2
| | | | closes #2431.
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-261-3/+3
|
* posix: glibc compatibilitySebastian Huber2015-09-022-7/+7
|
* psxtests/psxcancel: Check return statusSebastian Huber2015-09-011-10/+24
| | | | Update #2402.
* psxualarm: Avoid endless signal handlingSebastian Huber2015-05-191-2/+2
| | | | Increase the ualarm timer interval to avoid endless signal handling.
* Add test assertion for allocator mutex being unlockedJoel Sherrill2015-04-142-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.
* psxconfig01/init.c: Correct pointer/integer size warningJoel Sherrill2015-03-241-1/+1
|
* psxtests/psx15/init.c: Correct printf() warningJoel Sherrill2015-03-241-1/+3
|
* testsuites/psxtests/psxsignal03/init.c: Fix line wrapJoel Sherrill2015-03-221-1/+5
|
* Replace www.rtems.com with www.rtems.orgSebastian Huber2015-03-201-1/+1
|
* tests misc: Disable deprecated method usage warning when intentionalJoel Sherrill2015-03-171-4/+10
| | | | | These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted.
* libcsupport: Delete superfluous _gettimeofday()Sebastian Huber2015-03-101-7/+0
|