summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/executable/suite.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/executable/suite.rb b/test/executable/suite.rb
index 37acab9..db96f77 100644
--- a/test/executable/suite.rb
+++ b/test/executable/suite.rb
@@ -11,6 +11,7 @@ puts "Running CodeRay #{CodeRay::VERSION} executable tests..."
class TestCodeRayExecutable < Test::Unit::TestCase
ruby = `ps -c #$$`[/\w+\Z/]
+ ruby = 'ruby' if ruby == 'java'
ROOT_DIR = Pathname.new(File.dirname(__FILE__)) + '..' + '..'
EXECUTABLE = ROOT_DIR + 'bin' + 'coderay'