From 4c71b281c40af703904bac3d140a2f231efa82bf Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Wed, 18 Nov 2015 13:50:38 +0200 Subject: [PATCH] 3 try to get travis to work and behave like my machine, remote debugging going on --- test/soml/helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/soml/helper.rb b/test/soml/helper.rb index a0e90734..d801866f 100644 --- a/test/soml/helper.rb +++ b/test/soml/helper.rb @@ -43,7 +43,8 @@ module RuntimeTests end 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("@") machine , port = rest.to_s.split(":") return @@conn if defined?(@@conn)