mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 08:26:02 +08:00
testsuite: Simplify tests
This commit is contained in:
@@ -283,21 +283,14 @@ test_rtems_bsd_get_curthread_or_null(void)
|
||||
static void
|
||||
test_main(void)
|
||||
{
|
||||
rtems_status_code sc;
|
||||
rtems_task_priority prio = RTEMS_MAXIMUM_PRIORITY - 1;
|
||||
|
||||
main_task_id = rtems_task_self();
|
||||
|
||||
sc = rtems_task_set_priority(RTEMS_SELF, prio, &prio);
|
||||
assert(sc == RTEMS_SUCCESSFUL);
|
||||
|
||||
test_non_bsd_thread();
|
||||
test_kproc_start();
|
||||
test_kthread_start();
|
||||
test_kthread_add();
|
||||
test_rtems_bsd_get_curthread_or_null();
|
||||
|
||||
puts("*** END OF " TEST_NAME " TEST ***");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user