diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-04 05:02:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-04 05:02:40 +0000 |
commit | b9c630f999e36ce3d2b3c80375e6716bfca0dfb8 (patch) | |
tree | fdd90f65051eba0066fd1f71216d617d88f7db8b /test/lib | |
parent | dd2d43d9bd3aaf7a932c7e00bfc278db5d685083 (diff) | |
download | ruby-b9c630f999e36ce3d2b3c80375e6716bfca0dfb8.tar.gz |
parallel.rb: expand path
* test/lib/test/unit/parallel.rb (run): expand the file name to be
loaded, so that relative paths work in parallel mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/test/unit/parallel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/test/unit/parallel.rb b/test/lib/test/unit/parallel.rb index ea809f28ae..65f8a74ca4 100644 --- a/test/lib/test/unit/parallel.rb +++ b/test/lib/test/unit/parallel.rb @@ -112,7 +112,7 @@ module Test suites = MiniTest::Unit::TestCase.test_suites begin - require $1 + require File.realpath($1) rescue LoadError _report "after", Marshal.dump([$1, ProxyError.new($!)]) _report "ready" |