summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-07-08 09:23:09 +0000
committermurphy <murphy@rubychan.de>2011-07-08 09:23:09 +0000
commitf62f4824b8f92e837989bfad702ac8222945f187 (patch)
treeeb40904fe3d8d4142b37236fb188ff9a22b386fc /test
parent556989e1852553794e6452f52053c65c176f2a99 (diff)
downloadcoderay-f62f4824b8f92e837989bfad702ac8222945f187.tar.gz
fixing tests for jruby
Diffstat (limited to 'test')
-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'