Changeset 979d95e in rtems


Ignore:
Timestamp:
Sep 1, 2014, 8:08:12 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
5cb5342
Parents:
4030ccc
Message:

libtests/capture01: Force error if SMP enabled

This prevents infinite test runs on SMP due to the recursive interrupt
lock acquire.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/capture01/init.c

    r4030ccc r979d95e  
    213213  rtems_test_begin();
    214214
     215#ifdef RTEMS_SMP
     216  printf("Capture Engine is broken due to recursive interrupt lock usage\n");
     217  assert(0);
     218#endif
     219
    215220  rtems_task_set_priority(RTEMS_SELF, 20, &old_priority);
    216221  rtems_task_mode(RTEMS_PREEMPT,  RTEMS_PREEMPT_MASK, &old_mode);
Note: See TracChangeset for help on using the changeset viewer.