提交 36e2ca19 编写于 作者: J jsalling

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.
上级 a3d81dfa
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册