3 try to get travis to work

and behave like my machine, remote debugging going on
This commit is contained in:
Torsten Ruger 2015-11-18 13:50:38 +02:00
parent 506c12b6f5
commit 4c71b281c4

View File

@ -43,7 +43,8 @@ module RuntimeTests
end end
def connected def connected
return false unless ENV["REMOTE_PI"] return false if ENV["REMOTE_PI"].nil? or (ENV["REMOTE_PI"] == "")
puts "remote " + ENV["REMOTE_PI"]
user , rest = ENV["REMOTE_PI"].split("@") user , rest = ENV["REMOTE_PI"].split("@")
machine , port = rest.to_s.split(":") machine , port = rest.to_s.split(":")
return @@conn if defined?(@@conn) return @@conn if defined?(@@conn)