aws / amazon-freertos

DEPRECATED - See README.md
https://aws.amazon.com/freertos/
MIT License
2.54k stars 1.1k forks source link

tests: add macro warpper in header files #3470

Closed hakehuang closed 2 years ago

hakehuang commented 2 years ago

Description the predefined macros do not have a wrapper, add wrapper will make the test flexible to different run settings

the user cases is we have CFLAGS set in build time, which can enable the application with our test envrionment.

Checklist: [ x] I have tested my changes. No regression in existing tests. [x ] My code is Linted. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: Hake Huang hake.huang@oss.nxp.com

Description

Checklist:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

xuelix commented 2 years ago

/bot run checks