File tree 2 files changed +3
-2
lines changed
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)
54
54
installed_library_path = assure ( "Installing library under test" ) { @arduino_cmd . install_local_library ( "." ) }
55
55
library_examples = @arduino_cmd . library_examples ( installed_library_path )
56
56
cpp_library = ArduinoCI ::CppLibrary . new ( installed_library_path )
57
+ assure ( "Library installed at #{ installed_library_path } " ) { }
57
58
58
59
# gather up all required boards so we can install them up front.
59
60
# 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
19
19
attr_reader :last_cmd
20
20
21
21
def initialize ( base_dir )
22
- @base_dir = base_dir
22
+ @base_dir = File . expand_path ( base_dir )
23
23
@artifacts = [ ]
24
24
@last_err = ""
25
25
@last_out = ""
@@ -115,9 +115,9 @@ def flag_args(ci_gcc_config)
115
115
# All GCC command line args for building any unit test
116
116
def test_args ( aux_libraries , ci_gcc_config )
117
117
# TODO: something with libraries?
118
- cgc = ci_gcc_config
119
118
ret = include_args ( aux_libraries ) + cpp_files_arduino + cpp_files_unittest + cpp_files
120
119
unless ci_gcc_config . nil?
120
+ cgc = ci_gcc_config
121
121
ret = feature_args ( cgc ) + warning_args ( cgc ) + define_args ( cgc ) + flag_args ( cgc ) + ret
122
122
end
123
123
ret
You can’t perform that action at this time.
0 commit comments