refactor: rename test macro to prevent collisions (#91)

* refactor: rename test macro to prevent collisions

* style: align cmake epilog

* refactor: rename define in makefiles
This commit is contained in:
Carlos Gomes Martinho
2020-05-28 15:55:05 +02:00
committed by GitHub
parent cbfa74e48d
commit 981d4036c8
220 changed files with 308 additions and 308 deletions
+2 -2
View File
@@ -2306,7 +2306,7 @@ int bvlc_decode_foreign_device_table_entry(uint8_t *pdu,
return bytes_consumed;
}
#ifdef TEST
#ifdef BAC_TEST
#include <assert.h>
#include <string.h>
#include <stdlib.h>
@@ -3193,4 +3193,4 @@ int main(void)
return 0;
}
#endif /* TEST_BBMD */
#endif /* TEST */
#endif /* BAC_TEST */
+1 -1
View File
@@ -491,7 +491,7 @@ extern "C" {
uint16_t npdu_size,
uint16_t *npdu_len);
#ifdef TEST
#ifdef BAC_TEST
#include "ctest.h"
BACNET_STACK_EXPORT
void test_BVLC(Test *pTest);
+2 -2
View File
@@ -1483,7 +1483,7 @@ int bvlc6_decode_distribute_broadcast_to_network(uint8_t *pdu,
return bytes_consumed;
}
#ifdef TEST
#ifdef BAC_TEST
#include <assert.h>
#include <string.h>
#include "ctest.h"
@@ -2284,4 +2284,4 @@ int main(void)
return 0;
}
#endif /* TEST_BBMD */
#endif /* TEST */
#endif /* BAC_TEST */
+1 -1
View File
@@ -417,7 +417,7 @@ extern "C" {
uint16_t npdu_size,
uint16_t * npdu_len);
#ifdef TEST
#ifdef BAC_TEST
#include "ctest.h"
BACNET_STACK_EXPORT
void test_BVLC6(
+1 -1
View File
@@ -141,7 +141,7 @@ uint16_t CRC_Calc_Data(uint8_t dataValue, uint16_t crcValue)
}
#endif
#ifdef TEST
#ifdef BAC_TEST
#include <assert.h>
#include <string.h>
#include "ctest.h"
+1 -1
View File
@@ -1248,7 +1248,7 @@ void MSTP_Init(volatile struct mstp_port_struct_t *mstp_port)
}
}
#ifdef TEST
#ifdef BAC_TEST
#include <assert.h>
#include <string.h>
#include "bacnet/basic/sys/ringbuf.h"