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:
jsalling
2015-12-21 11:39:50 -06:00
parent a3d81dfa41
commit 36e2ca192b
8 changed files with 13 additions and 5 deletions

View File

@ -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'

View File

@ -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'

View File

@ -19,6 +19,7 @@ compiler:
defines:
prefix: '-D'
items:
- UNITY_OUTPUT_CHAR=putcharSpy
- UNITY_EXCLUDE_STDINT_H
- UNITY_EXCLUDE_LIMITS_H
- UNITY_EXCLUDE_SIZEOF

View File

@ -19,6 +19,7 @@ compiler:
defines:
prefix: '-D'
items:
- UNITY_OUTPUT_CHAR=putcharSpy
- UNITY_EXCLUDE_STDINT_H
- UNITY_EXCLUDE_LIMITS_H
- UNITY_EXCLUDE_SIZEOF

View File

@ -19,6 +19,7 @@ compiler:
defines:
prefix: '-D'
items:
- UNITY_OUTPUT_CHAR=putcharSpy
- UNITY_EXCLUDE_STDINT_H
- UNITY_INCLUDE_DOUBLE
- UNITY_SUPPORT_TEST_CASES

View File

@ -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

View File

@ -32,6 +32,7 @@ compiler:
defines:
prefix: '-D'
items:
- UNITY_OUTPUT_CHAR=putcharSpy
- UNITY_INCLUDE_DOUBLE
- UNITY_SUPPORT_TEST_CASES
- UNITY_SUPPORT_64

View File

@ -19,6 +19,7 @@ compiler:
defines:
prefix: '-D'
items:
- UNITY_OUTPUT_CHAR=putcharSpy
- UNITY_EXCLUDE_MATH_H
- UNITY_INCLUDE_DOUBLE
- UNITY_SUPPORT_TEST_CASES