|
From: <caw...@us...> - 2007-05-16 18:44:08
|
Revision: 2491
http://svn.sourceforge.net/rubyeclipse/?rev=2491&view=rev
Author: cawilliams
Date: 2007-05-16 11:44:05 -0700 (Wed, 16 May 2007)
Log Message:
-----------
comment out "if __FILE__ == $0" around the startup code because that won't always work out to be true if we're launching the test under the debugger. This fixes ticket #4340
Modified Paths:
--------------
trunk/org.rubypeople.rdt.testunit/ruby/RemoteTestRunner.rb
Modified: trunk/org.rubypeople.rdt.testunit/ruby/RemoteTestRunner.rb
===================================================================
--- trunk/org.rubypeople.rdt.testunit/ruby/RemoteTestRunner.rb 2007-05-16 16:58:11 UTC (rev 2490)
+++ trunk/org.rubypeople.rdt.testunit/ruby/RemoteTestRunner.rb 2007-05-16 18:44:05 UTC (rev 2491)
@@ -256,7 +256,7 @@
end
end
-if __FILE__ == $0
+#if __FILE__ == $0
require 'socket'
if ARGV.empty?
puts "You should supply the name of a test suite file and the port to the runner"
@@ -277,7 +277,6 @@
# 4. test class name (optional)
# 5. test name (optional)
#
-
filename = ARGV[0].slice(0, ARGV[0].rindex('.'))
port = ARGV[1].to_i
keepAliveString = ARGV[2]
@@ -299,4 +298,4 @@
remoteTestRunner.start
session.close
exit
-end
+#end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|