Changeset 6196ded in rtems for testsuites/support


Ignore:
Timestamp:
Apr 28, 2010, 4:37:20 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
af2af2b4
Parents:
cb930b4
Message:

2010-04-22 Sebastian Huber <Sebastian.Huber@…>

  • support/include/tmacros.h: Changed check_dispatch_disable_level() to treat all non-zero values of _Thread_Dispatch_disable_level equally.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/support/include/tmacros.h

    rcb930b4 r6196ded  
    4848#define check_dispatch_disable_level( _expect ) \
    4949  do { \
    50     if ( (_expect) != -1 && _Thread_Dispatch_disable_level != (_expect) ) { \
     50    if ( (_expect) != -1 \
     51           && ((_Thread_Dispatch_disable_level == 0 && (_expect) != 0) \
     52             || (_Thread_Dispatch_disable_level != 0 && (_expect) == 0)) \
     53    ) { \
    5154      printk( \
    5255        "\n_Thread_Dispatch_disable_level is (%" PRId32 \
Note: See TracChangeset for help on using the changeset viewer.