Skip to content

Commit 7402176

Browse files
committed
hail mary logging
1 parent cf8d017 commit 7402176

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/arduino_ci/display_manager.rb

+6-2
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,13 @@ def run(*args, **kwargs)
133133
actual_args = has_env ? args[1..-1] : args # need to shift over if we extracted args
134134
full_cmd = env_vars.empty? ? actual_args : [env_vars] + actual_args
135135

136-
puts "Running #{env_vars} $ #{args.join(' ')}"
136+
puts "Running #{env_vars} $ #{actual_args.join(' ')}"
137+
puts "Full_cmd is #{full_cmd}"
138+
puts "kwargs is #{kwargs}"
137139
ret = system(*full_cmd, **kwargs)
140+
puts "system call to #{actual_args[0]} has completed"
138141
end
142+
puts "with_display has completed"
139143
ret
140144
end
141145

@@ -146,7 +150,7 @@ def run_silent(*args)
146150

147151
def environment
148152
return nil unless @existing || @enabled
149-
return {} if @existing
153+
return { "EXISTING_DISPLAY" => "YES" } if @existing
150154
{ "DISPLAY" => DESIRED_DISPLAY }
151155
end
152156

0 commit comments

Comments
 (0)