-
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.
Refactor all yaml files for self-tests to fit Ceedling format for wid…
…er reuse. Fix mistake in unity selftest without output spy running. Namespace self-tests for consistency across ThrowTheSwitch projects (like being able to test:all) Reduce clutter of NAMED self-tests in task list.
- Loading branch information
1 parent
e3132cd
commit 3f71d10
Showing
20 changed files
with
1,227 additions
and
1,233 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,44 @@ | ||
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 | ||
- UNITY_SUPPORT_64 | ||
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 | ||
- :parameterized | ||
:tools: | ||
:test_compiler: | ||
:name: compiler | ||
:executable: gcc | ||
:arguments: | ||
- "-c" | ||
- "-m64" | ||
- "-Wall" | ||
- "-Wno-address" | ||
- "-ansi" | ||
- '-I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE' | ||
- '-I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR' | ||
- "-D$: COLLECTION_DEFINES_TEST_AND_VENDOR" | ||
- "${1}" | ||
- "-o ${2}" | ||
:test_linker: | ||
:name: linker | ||
:executable: gcc | ||
:arguments: | ||
- "${1}" | ||
- "-lm" | ||
- "-m64" | ||
- "-o ${2}" | ||
:extension: | ||
:object: ".o" | ||
:executable: ".exe" | ||
:paths: | ||
:test: | ||
- src/ | ||
- "../src/" | ||
- testdata/ | ||
- tests/ | ||
:defines: | ||
:test: | ||
- UNITY_INCLUDE_DOUBLE | ||
- UNITY_SUPPORT_TEST_CASES | ||
- UNITY_EXCLUDE_TESTING_NEW_COMMENTS | ||
- UNITY_SUPPORT_64 |
Oops, something went wrong.