-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added target for checking ANSI compliance
- fixed ANSI (C89) issues, including #418
- Loading branch information
1 parent
748efa2
commit d16c27b
Showing
15 changed files
with
134 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
compiler: | ||
path: gcc | ||
source_path: '../src/' | ||
unit_tests_path: &unit_tests_path 'tests/' | ||
build_path: &build_path 'build/' | ||
options: | ||
- '-c' | ||
- '-m64' | ||
- '-Wall' | ||
- '-Wno-address' | ||
- '-ansi' | ||
#- '-pedantic' | ||
includes: | ||
prefix: '-I' | ||
items: | ||
- 'src/' | ||
- '../src/' | ||
- 'testdata/' | ||
- *unit_tests_path | ||
defines: | ||
prefix: '-D' | ||
items: | ||
- UNITY_INCLUDE_DOUBLE | ||
- UNITY_SUPPORT_TEST_CASES | ||
- UNITY_EXCLUDE_TESTING_NEW_COMMENTS | ||
object_files: | ||
prefix: '-o' | ||
extension: '.o' | ||
destination: *build_path | ||
linker: | ||
path: gcc | ||
options: | ||
- -lm | ||
- '-m64' | ||
includes: | ||
prefix: '-I' | ||
object_files: | ||
path: *build_path | ||
extension: '.o' | ||
bin_files: | ||
prefix: '-o' | ||
extension: '.exe' | ||
destination: *build_path | ||
colour: true | ||
:unity: | ||
:plugins: [] | ||
:skip_tests: | ||
- :parameterized |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
#define Try if (e) | ||
#define Catch(a) if (!a) | ||
|
||
#endif //CEXCEPTION_H | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
|
||
extern int CounterSuiteSetup; | ||
|
||
#endif //DEF_H | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ void mockMock_Init(void); | |
void mockMock_Verify(void); | ||
void mockMock_Destroy(void); | ||
|
||
#endif //MOCK_MOCK_H | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,6 +169,3 @@ void test_CharsArePreserved(unsigned index, char c) | |
|
||
NextExpectedCharIndex++; | ||
} | ||
|
||
|
||
|
Oops, something went wrong.