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:
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user