Changeset 8bc15aba in rtems
- Timestamp:
- 03/09/23 15:34:56 (7 months ago)
- Branches:
- master
- Children:
- 72465f86
- Parents:
- c821b92
- git-author:
- Sebastian Huber <sebastian.huber@…> (03/09/23 15:34:56)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (05/19/23 06:08:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/validation/tc-type.c
rc821b92 r8bc15aba 8 8 9 9 /* 10 * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)10 * Copyright (C) 2021, 2023 embedded brains GmbH (http://www.embedded-brains.de) 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without … … 72 72 * has an object index outside the range of valid object indices. 73 73 * 74 * - Validate the RTEMS_NO_TIMEOUT constant. 75 * 76 * - Assert that RTEMS_NO_TIMEOUT is a compile time constant which evaluates 77 * to a value of zero. 78 * 79 * - Check that RTEMS_NO_TIMEOUT evaluates to a value of zero. 80 * 74 81 * @{ 75 82 */ … … 94 101 95 102 /** 103 * @brief Validate the RTEMS_NO_TIMEOUT constant. 104 */ 105 static void RtemsTypeValType_Action_1( void ) 106 { 107 /* Nothing to do */ 108 109 /* 110 * Assert that RTEMS_NO_TIMEOUT is a compile time constant which evaluates to 111 * a value of zero. 112 */ 113 RTEMS_STATIC_ASSERT( RTEMS_NO_TIMEOUT == 0, NO_TIMEOUT ); 114 115 /* 116 * Check that RTEMS_NO_TIMEOUT evaluates to a value of zero. 117 */ 118 T_eq_u32( RTEMS_NO_TIMEOUT, 0 ); 119 } 120 121 /** 96 122 * @fn void T_case_body_RtemsTypeValType( void ) 97 123 */ … … 99 125 { 100 126 RtemsTypeValType_Action_0(); 127 RtemsTypeValType_Action_1(); 101 128 } 102 129
Note: See TracChangeset
for help on using the changeset viewer.