Merged in raiden00/apps (pull request #142)
testing/unity: add configuration options for exclude setjmp and output color Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
3403b1b0e9
commit
0abe34183b
@ -50,6 +50,14 @@
|
||||
|
||||
/* Exclude setjmp */
|
||||
|
||||
#define UNITY_EXCLUDE_SETJMP_H 1
|
||||
#ifdef CONFIG_TESTING_UNITY_EXCLUDE_SETJMP
|
||||
# define UNITY_EXCLUDE_SETJMP_H 1
|
||||
#endif
|
||||
|
||||
/* Enable output coloring */
|
||||
|
||||
#ifdef CONFIG_TESTING_UNITY_OUTPUT_COLOR
|
||||
# define UNITY_OUTPUT_COLOR 1
|
||||
#endif
|
||||
|
||||
#endif /* UNITY_CONFIG_H */
|
||||
|
@ -19,4 +19,16 @@ config TESTING_UNITY_VERSION
|
||||
string "Version number"
|
||||
default "2.4.3"
|
||||
|
||||
config TESTING_UNITY_EXCLUDE_SETJMP
|
||||
bool "Exclude SETJMP"
|
||||
default y
|
||||
---help---
|
||||
Select this if your toolchain does not support setjmp
|
||||
|
||||
config TESTING_UNITY_OUTPUT_COLOR
|
||||
bool "Output color"
|
||||
default n
|
||||
---help---
|
||||
Select this if your want to add some colors to your tests
|
||||
|
||||
endif # TESTING_UNITY
|
||||
|
Loading…
Reference in New Issue
Block a user