summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxkey08/init.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-21testsuite: Fix gcc 12 warningsChris Johns1-1/+1
2022-04-12testsuites/psxtests/psx[g-m1]*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2018-10-05tests: Use rtems_task_exit()Sebastian Huber1-1/+1
Update #3533.
2017-11-06tests: Use simple console driverSebastian Huber1-1/+1
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber1-2/+0
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 Johns1-0/+2
- 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.
2016-11-23psxtests/psxkey08: Avoid rtems_semaphore_flush()Sebastian Huber1-38/+36
Avoid rtems_semaphore_flush() to reduce the maximum thread dispatch disabled time of this test. Remove superfluous yield and malloc(). Ensure that no resource leak occurs.
2014-03-25tests/psxtests: Use <rtems/test.h>Sebastian Huber1-2/+6
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2014-03-12psxtests/psxkey08: Limit workspace sizeSebastian Huber1-3/+9
This avoids large test execution times on targets with a big RAM.
2014-03-12psxtests/psxkey08: Do not allocate task IDsSebastian Huber1-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.
2014-03-07POSIX keys now enabled in all configurations.Joel Sherrill1-41/+54
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.
2013-08-06Unlimited objects support for POSIX keysZhongwei Yao1-0/+165
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.