diff options
author | murphy <murphy@rubychan.de> | 2011-07-08 09:23:09 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2011-07-08 09:23:09 +0000 |
commit | f62f4824b8f92e837989bfad702ac8222945f187 (patch) | |
tree | eb40904fe3d8d4142b37236fb188ff9a22b386fc | |
parent | 556989e1852553794e6452f52053c65c176f2a99 (diff) | |
download | coderay-f62f4824b8f92e837989bfad702ac8222945f187.tar.gz |
fixing tests for jruby
-rw-r--r-- | test/executable/suite.rb | 1 |
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' |