Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlassert / repo / tests / nlassert-test-config.h
1 /*
2  *
3  *    Copyright (c) 2015 Nest Labs, Inc.
4  *    All rights reserved.
5  *
6  *    This document is the property of Nest. It is considered
7  *    confidential and proprietary information.
8  *
9  *    This document may not be reproduced or transmitted in any form,
10  *    in whole or in part, without the express written permission of
11  *    Nest.
12  *
13  */
14
15 /**
16  *    @file
17  *      This file defines configuration mnemonics that can be enabled
18  *      or disabled to effect different test configurations for the
19  *      runtime assertion library.
20  *
21  */
22
23 #ifndef NLASSSERT_TEST_CONFIG_H
24 #define NLASSSERT_TEST_CONFIG_H
25
26 /**
27  *  @def NL_ASSERT_TEST_WANT_STATIC_SUCCESS
28  *
29  *  @brief
30  *    TBD
31  *
32  */
33 #ifndef NL_ASSERT_TEST_WANT_STATIC_SUCCESS
34 #define NL_ASSERT_TEST_WANT_STATIC_SUCCESS         1
35 #endif
36
37 /**
38  *  @def NL_ASSERT_TEST_WANT_PRODUCTION
39  *
40  *  @brief
41  *    TBD
42  *
43  */
44 #ifndef NL_ASSERT_TEST_WANT_PRODUCTION
45 #define NL_ASSERT_TEST_WANT_PRODUCTION             0
46 #endif
47
48 /**
49  *  @def NL_ASSERT_TEST_WANT_DEFAULTS
50  *
51  *  @brief
52  *    TBD
53  *
54  */
55 #ifndef NL_ASSERT_TEST_WANT_DEFAULTS
56 #define NL_ASSERT_TEST_WANT_DEFAULTS               0
57 #endif
58
59 /**
60  *  @def NL_ASSERT_TEST_WANT_ABORT
61  *
62  *  @brief
63  *    Enable (1) or disable (0) a test harness-specific override for
64  *    #NL_ASSERT_ABORT().
65  *
66  *    Enabling this enables tests to ensure that abort functionality
67  *    works correctly.
68  *
69  */
70 #ifndef NL_ASSERT_TEST_WANT_ABORT
71 #define NL_ASSERT_TEST_WANT_ABORT                  1
72 #endif
73
74 /**
75  *  @def NL_ASSERT_TEST_WANT_LOG
76  *
77  *  @brief
78  *    TBD
79  *
80  *    TBD
81  *
82  */
83 #ifndef NL_ASSERT_TEST_WANT_LOG
84 #define NL_ASSERT_TEST_WANT_LOG                    0
85 #endif
86
87 /**
88  *  @def NL_ASSERT_TEST_WANT_BACKTRACE
89  *
90  *  @brief
91  *    Enable (1) or disable (0) a test harness-specific override for
92  *    #NL_ASSERT_BACKTRACE().
93  *
94  *    Enabling this enables tests to ensure that backtrace functionality
95  *    works correctly.
96  *
97  */
98 #ifndef NL_ASSERT_TEST_WANT_BACKTRACE
99 #define NL_ASSERT_TEST_WANT_BACKTRACE              0
100 #endif
101
102 /**
103  *  @def NL_ASSERT_TEST_WANT_TRAP
104  *
105  *  @brief
106  *    Enable (1) or disable (0) a test harness-specific override for
107  *    #NL_ASSERT_TRAP().
108  *
109  *    Enabling this enables tests to ensure that trap functionality
110  *    works correctly.
111  *
112  */
113 #ifndef NL_ASSERT_TEST_WANT_TRAP
114 #define NL_ASSERT_TEST_WANT_TRAP                   0
115 #endif
116
117 #endif /* NLASSSERT_TEST_CONFIG_H */