summaryrefslogtreecommitdiff
path: root/testsuites/sptests/spsem01 (follow)
AgeCommit message (Collapse)Author
2018-10-05tests: Use rtems_task_exit()Sebastian Huber
Update #3533.
2018-04-10testsuite/sptests: Merged nested Makefile.am files into one Makefile.amChris Johns
This change is part of the testsuite Makefile.am reorganization. Update #3382
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2014-04-03score: PR788: Add INTERNAL_ERROR_RESOURCE_IN_USESebastian Huber
Issue a fatal error in case a thread is deleted which still owns resources (e.g. a binary semaphore with priority inheritance or ceiling protocol). The resource count must be checked quite late since RTEMS task variable destructors, POSIX key destructors, POSIX cleanup handler, the Newlib thread termination extension or other thread termination extensions may release resources. In this context it would be quite difficult to return an error status to the caller. An alternative would be to place threads with a non-zero resource count not on the zombie chain. Thus we have a resource leak instead of a fatal error. The terminator thread can see this error if we return an RTEMS_RESOURCE_IN_USE status for the rtems_task_delete() for example.
2014-03-25tests/sptests: Use <rtems/test.h>Sebastian Huber
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2014-02-05sptests/spsem0[12]: Use rtems_test_exit()Sebastian Huber
2013-05-20sptests: add test for priority inversion with multiple locksGedare Bloom