Skip to content

Commit 993ed5f

Browse files
committed
[test] expand_path for src/test/ruby since -C will do a cd on rake test
1 parent bf9420c commit 993ed5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ file('lib/jopenssl.jar') { Rake::Task['jar'].invoke }
3939

4040
require 'rake/testtask'
4141
Rake::TestTask.new do |task|
42-
task.libs << 'src/test/ruby'
42+
task.libs << File.expand_path('src/test/ruby', File.dirname(__FILE__))
4343
test_files = FileList['src/test/ruby/**/test*.rb'].to_a
4444
task.test_files = test_files.map { |path| path.sub('src/test/ruby/', '') }
4545
task.verbose = true

0 commit comments

Comments
 (0)