From 0f40d86fc022ffa885a091d5845e54b30ea4773b Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 8 Feb 2020 09:06:29 +0000 Subject: [PATCH] Fixed bug #1071. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13330 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- readme.txt | 2 ++ test/lib/ch_test.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 4cd95bb9d..583cc35d8 100644 --- a/readme.txt +++ b/readme.txt @@ -154,6 +154,8 @@ - HAL: Added a new interface for range-finder devices (used by EX). - HAL: Added mcuconf.h updater tool for STM32F407 (backported to 19.1.1). - NIL: Integrated NIL 4.0. +- FIX: Fixed invalid macro check in test library (bug #1071) + (backported to 19.1.4). - FIX: Fixed non-standard declaration in STM32 ADCv3 driver (bug #1070) (backported to 19.1.4)(backported to 18.2.3). - FIX: Fixed problem in the I2C fallback driver (bug #1069) diff --git a/test/lib/ch_test.c b/test/lib/ch_test.c index e59f0908b..c74e85f4d 100644 --- a/test/lib/ch_test.c +++ b/test/lib/ch_test.c @@ -255,7 +255,7 @@ msg_t test_execute(BaseSequentialStream *stream, const testsuite_t *tsp) { test_print("*** Test Board: "); test_println(BOARD_NAME); #endif -#if defined(TEST_CFG_SIZE_REPORT) +#if TEST_CFG_SIZE_REPORT == TRUE { extern uint8_t __text_base__, __text_end__, __rodata_base__, __rodata_end__,