RTEMS
Macros
Boolean Checks

Checks for boolean expressions. More...

Macros

#define T_true(...)   T_flags_true(0, __VA_ARGS__)
 
#define T_assert_true(...)   T_flags_true(T_CHECK_STOP, __VA_ARGS__)
 
#define T_quiet_true(...)   T_flags_true(T_CHECK_QUIET, __VA_ARGS__)
 
#define T_step_true(s, ...)   T_flags_true(T_CHECK_STEP(s), __VA_ARGS__)
 
#define T_step_assert_true(s, ...)   T_flags_true(T_CHECK_STEP(s) | T_CHECK_STOP, __VA_ARGS__)
 
#define T_false(...)
 
#define T_assert_false(...)
 
#define T_quiet_false(...)
 
#define T_step_false(s, ...)
 
#define T_step_assert_false(s, ...)
 

Detailed Description

Checks for boolean expressions.

Macro Definition Documentation

◆ T_assert_false

#define T_assert_false (   ...)
Value:
T_flags_true(T_CHECK_STOP, \
!(T_VA_ARGS_FIRST(__VA_ARGS__)) T_VA_ARGS_MORE(__VA_ARGS__))

Definition at line 709 of file test.h.

◆ T_false

#define T_false (   ...)
Value:
T_flags_true(0, \
!(T_VA_ARGS_FIRST(__VA_ARGS__)) T_VA_ARGS_MORE(__VA_ARGS__))

Definition at line 706 of file test.h.

◆ T_quiet_false

#define T_quiet_false (   ...)
Value:
T_flags_true(T_CHECK_QUIET, \
!(T_VA_ARGS_FIRST(__VA_ARGS__)) T_VA_ARGS_MORE(__VA_ARGS__))

Definition at line 712 of file test.h.

◆ T_step_assert_false

#define T_step_assert_false (   s,
  ... 
)
Value:
T_flags_true(T_CHECK_STEP(s) | T_CHECK_STOP, \
!(T_VA_ARGS_FIRST(__VA_ARGS__)) T_VA_ARGS_MORE(__VA_ARGS__))

Definition at line 718 of file test.h.

◆ T_step_false

#define T_step_false (   s,
  ... 
)
Value:
T_flags_true(T_CHECK_STEP(s), \
!(T_VA_ARGS_FIRST(__VA_ARGS__)) T_VA_ARGS_MORE(__VA_ARGS__))

Definition at line 715 of file test.h.