tweaks to the default test fixture to fix self-test issues.

This commit is contained in:
Mark VanderVoord
2026-07-15 23:42:52 -04:00
parent 0021ec5925
commit b6763fbd9c
3 changed files with 15 additions and 8 deletions
+3
View File
@@ -91,6 +91,9 @@ class UnityTestSummary
next unless status_match
status = status_match.captures[0]
# A line ending in :PASS is a passing expected-failure test; the FAIL
# earlier on the same line was the intentional (caught) assertion.
status = 'PASS' if line.end_with?(':PASS') && status == 'FAIL'
line_out = (@root && (@root != 0) ? "#{@root}#{line}" : line).gsub(/\//, '\\')
case status
+6 -4
View File
@@ -65,11 +65,13 @@
- "-o ${2}"
:version: --version
:test_fixture:
:name: test_fixture
:optional: true
:executable: '${1}'
:arguments: []
:name: clang_fixture
:executable: ''
:version: --version
:optional: true
:arguments:
- ${1}
- ${2}
:gcov_compiler:
:name: gcov_compiler
:executable: clang
+6 -4
View File
@@ -48,11 +48,13 @@
- "-o ${2}"
:version: --version
:test_fixture:
:name: test_fixture
:optional: true
:executable: '${1}'
:arguments: []
:name: gcc_fixture
:executable: ''
:version: --version
:optional: true
:arguments:
- ${1}
- ${2}
:gcov_compiler:
:name: gcov_compiler
:executable: gcc