Changeset a1e4757 in rtems-libbsd


Ignore:
Timestamp:
Jul 2, 2018, 7:16:14 AM (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
647dd08ae2aa69b935c2847ea450fb824322ecae, c6261f97870562d4c797cfb1ff1ba0affb85a916
Children:
e6f6b5e
Parents:
a07eb67
git-author:
Sebastian Huber <sebastian.huber@…> (07/02/18 07:16:14)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/02/18 07:16:40)
Message:

syscalls01: Fix sporadic test failures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuite/syscalls01/test_main.c

    ra07eb67 ra1e4757  
    16001600}
    16011601
     1602static void set_self_prio(rtems_task_priority prio)
     1603{
     1604  rtems_status_code sc;
     1605
     1606  sc = rtems_task_set_priority(RTEMS_SELF, prio, &prio);
     1607  assert(sc == RTEMS_SUCCESSFUL);
     1608}
     1609
    16021610static void
    16031611test_main(void)
    16041612{
     1613
     1614        /*
     1615         * No interruptions by the timer server.  The uma_timeout() may need
     1616         * some dynamic memory.  This could disturb the no memory tests.
     1617         */
     1618        set_self_prio(1);
    16051619
    16061620        /* Must be first test to ensure resource checks work */
Note: See TracChangeset for help on using the changeset viewer.