1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 00:15:58 +01:00

Do NOT include the default test runner if a custom runner has been defined.

Cleanup some style issues.
This commit is contained in:
mvandervoord
2019-12-05 13:19:43 -05:00
parent 2f79302d5c
commit c5c36ab29f
7 changed files with 18 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ def run_tests
load_configuration($cfg_file)
test_defines = ['TEST']
$cfg['compiler']['defines']['items'] = [] if $cfg['compiler']['defines']['items'].nil?
$cfg['compiler']['defines']['items'] << "UNITY_FIXTURE_NO_EXTRAS"
$cfg['compiler']['defines']['items'] << 'UNITY_FIXTURE_NO_EXTRAS'
# Get a list of all source files needed
src_files = Dir["#{__dir__}/src/*.c"]

View File

@@ -146,7 +146,7 @@ def report_summary
summary.run
end
def run_tests(exclude_stdlib=false)
def run_tests(exclude_stdlib = false)
report 'Running Unity system tests...'
# Tack on TEST define for compiling unit tests