Changeset dddc9a58 in rtems


Ignore:
Timestamp:
Jul 20, 2020, 5:28:07 AM (3 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c9d2405
Parents:
467ef5b4
git-author:
Sebastian Huber <sebastian.huber@…> (07/20/20 05:28:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/23/20 07:27:47)
Message:

libtest: Add quiet assert NULL pointer checks

Update #3199.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/test.h

    r467ef5b4 rdddc9a58  
    762762#define T_assert_null(a) T_flags_null(a, T_CHECK_STOP, #a)
    763763#define T_quiet_null(a) T_flags_null(a, T_CHECK_QUIET, #a)
     764#define T_quiet_assert_null(a) \
     765    T_flags_null(a, T_CHECK_QUIET | T_CHECK_STOP, #a)
    764766#define T_step_null(s, a) T_flags_null(a, T_CHECK_STEP(s), #a)
    765767#define T_step_assert_null(s, a) \
     
    769771#define T_assert_not_null(a) T_flags_not_null(a, T_CHECK_STOP, #a)
    770772#define T_quiet_not_null(a) T_flags_not_null(a, T_CHECK_QUIET, #a)
     773#define T_quiet_assert_not_null(a) \
     774    T_flags_not_null(a, T_CHECK_QUIET | T_CHECK_STOP, #a)
    771775#define T_step_not_null(s, a) T_flags_not_null(a, T_CHECK_STEP(s), #a)
    772776#define T_step_assert_not_null(s, a) \
Note: See TracChangeset for help on using the changeset viewer.