|
From: <caw...@us...> - 2007-09-17 20:58:25
|
Revision: 3201
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3201&view=rev
Author: cawilliams
Date: 2007-09-17 13:58:23 -0700 (Mon, 17 Sep 2007)
Log Message:
-----------
fix broken test
Modified Paths:
--------------
trunk/org.rubypeople.rdt.launching.tests/src/org/rubypeople/rdt/internal/launching/TC_RunnerLaunching.java
Modified: trunk/org.rubypeople.rdt.launching.tests/src/org/rubypeople/rdt/internal/launching/TC_RunnerLaunching.java
===================================================================
--- trunk/org.rubypeople.rdt.launching.tests/src/org/rubypeople/rdt/internal/launching/TC_RunnerLaunching.java 2007-09-17 20:25:40 UTC (rev 3200)
+++ trunk/org.rubypeople.rdt.launching.tests/src/org/rubypeople/rdt/internal/launching/TC_RunnerLaunching.java 2007-09-17 20:58:23 UTC (rev 3201)
@@ -64,6 +64,9 @@
standin.setInstallLocation(location.getLocation().toFile());
interpreter = standin.convertToRealVM();
RubyRuntime.setDefaultVMInstall(interpreter, null, true);
+
+ LaunchingPlugin.getDefault().getPluginPreferences().setValue(PreferenceConstants.USE_RUBY_DEBUG, false);
+ // TODO Add a test for using ruby debug!
}
@Override
@@ -83,6 +86,7 @@
buffer.append(new Path(interpreter.getInstallLocation().getAbsolutePath()).append("bin").append("ruby").toOSString());
buffer.append("\" ");
buffer.append(INTERPRETER_ARGUMENTS);
+ addSyncArgs(buffer);
if (debug) {
buffer.append(" -I ");
if (Platform.getOS().equals(Platform.OS_WIN32))
@@ -90,8 +94,7 @@
buffer.append(new Path(StandardVMDebugger.getDirectoryOfRubyDebuggerFile()).toOSString());
if (Platform.getOS().equals(Platform.OS_WIN32))
buffer.append("\"");
- }
- addSyncArgs(buffer);
+ }
if (debug) {
buffer.append(" -r");
buffer.append(debugFile);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|