mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-05-21 01:16:39 +08:00
Adding -D UNITY_OUTPUT_CHAR=putcharSpy to testing build targets
Updated clang and gcc targets. Fixed spelling of LIMITS, which breaks the gcc_auto_sizeof.yml build. Commented -Wunreachable-code, Unity won't build on OSX clang with it, error in unity.c:769 & 932: 'default: break;' case.
This commit is contained in:
@ -28,7 +28,7 @@ compiler:
|
||||
- '-Wstrict-overflow=5'
|
||||
- '-Wuninitialized'
|
||||
- '-Wunused'
|
||||
- '-Wunreachable-code'
|
||||
# - '-Wunreachable-code'
|
||||
- '-Wreturn-type'
|
||||
- '-Wshadow'
|
||||
- '-Wundef'
|
||||
@ -57,6 +57,7 @@ compiler:
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_64
|
||||
- UNITY_OUTPUT_RESULTS_FILE
|
||||
@ -65,7 +66,7 @@ compiler:
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
path: clang
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
|
@ -28,7 +28,7 @@ compiler:
|
||||
- '-Wstrict-overflow=5'
|
||||
- '-Wuninitialized'
|
||||
- '-Wunused'
|
||||
- '-Wunreachable-code'
|
||||
# - '-Wunreachable-code'
|
||||
- '-Wreturn-type'
|
||||
- '-Wshadow'
|
||||
- '-Wundef'
|
||||
@ -57,6 +57,7 @@ compiler:
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
@ -65,7 +66,7 @@ compiler:
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
path: clang
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
|
@ -19,6 +19,7 @@ compiler:
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_EXCLUDE_LIMITS_H
|
||||
- UNITY_EXCLUDE_SIZEOF
|
||||
|
@ -19,6 +19,7 @@ compiler:
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_EXCLUDE_LIMITS_H
|
||||
- UNITY_EXCLUDE_SIZEOF
|
||||
|
@ -19,6 +19,7 @@ compiler:
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
|
@ -19,8 +19,9 @@ compiler:
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_EXCLUDE_LIMTIS_H
|
||||
- UNITY_EXCLUDE_LIMITS_H
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
|
@ -32,6 +32,7 @@ compiler:
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
|
@ -19,6 +19,7 @@ compiler:
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_MATH_H
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
|
Reference in New Issue
Block a user