Skip to content

Commit 71c89c3

Browse files
committed
remove dead code around unit test config overriding
1 parent aacfdb2 commit 71c89c3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Diff for: exe/arduino_ci.rb

+1-6
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@
1717
# Use some basic parsing to allow command-line overrides of config
1818
class Parser
1919
def self.parse(options)
20-
unit_config = {}
2120
output_options = {
2221
skip_unittests: false,
2322
skip_compilation: false,
24-
ci_config: {
25-
"unittest" => unit_config
26-
},
2723
}
2824

2925
opt_parser = OptionParser.new do |opts|
@@ -383,14 +379,13 @@ def choose_platform_set(config, reason, desired_platforms, library_properties)
383379
end
384380

385381
# Unit test procedure
386-
def perform_unit_tests(cpp_library, file_config)
382+
def perform_unit_tests(cpp_library, config)
387383
phase("Unit testing")
388384
if @cli_options[:skip_unittests]
389385
inform("Skipping unit tests") { "as requested via command line" }
390386
return
391387
end
392388

393-
config = file_config.with_override_config(@cli_options[:ci_config])
394389
compilers = get_annotated_compilers(config, cpp_library)
395390

396391
inform("Library conforms to Arduino library specification") { cpp_library.one_point_five? ? "1.5" : "1.0" }

0 commit comments

Comments
 (0)