File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ def assure(message, &block)
5454installed_library_path = assure ( "Installing library under test" ) { @arduino_cmd . install_local_library ( "." ) }
5555library_examples = @arduino_cmd . library_examples ( installed_library_path )
5656cpp_library = ArduinoCI ::CppLibrary . new ( installed_library_path )
57+ assure ( "Library installed at #{ installed_library_path } " ) { }
5758
5859# gather up all required boards so we can install them up front.
5960# start with the "platforms to unittest" and add the examples
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class CppLibrary
1919 attr_reader :last_cmd
2020
2121 def initialize ( base_dir )
22- @base_dir = base_dir
22+ @base_dir = File . expand_path ( base_dir )
2323 @artifacts = [ ]
2424 @last_err = ""
2525 @last_out = ""
@@ -115,9 +115,9 @@ def flag_args(ci_gcc_config)
115115 # All GCC command line args for building any unit test
116116 def test_args ( aux_libraries , ci_gcc_config )
117117 # TODO: something with libraries?
118- cgc = ci_gcc_config
119118 ret = include_args ( aux_libraries ) + cpp_files_arduino + cpp_files_unittest + cpp_files
120119 unless ci_gcc_config . nil?
120+ cgc = ci_gcc_config
121121 ret = feature_args ( cgc ) + warning_args ( cgc ) + define_args ( cgc ) + flag_args ( cgc ) + ret
122122 end
123123 ret
You can’t perform that action at this time.
0 commit comments