aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-08-27 18:01:02 +0200
committergit <svn-admin@ruby-lang.org>2023-08-27 16:18:15 +0000
commit412e586afe1efd137872610a9ed6e93a45cf4c08 (patch)
tree256b49d66e1b0450f539ce3f2e1dd2baf91ba0b9 /test
parent78c5bb1136f7db559f14ba44eb04503b1493672d (diff)
downloadruby-412e586afe1efd137872610a9ed6e93a45cf4c08.tar.gz
[ruby/yarp] Fix paths in library_symbols_test.rb
https://github.com/ruby/yarp/commit/b5fba6d63f
Diffstat (limited to 'test')
-rw-r--r--test/yarp/library_symbols_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/yarp/library_symbols_test.rb b/test/yarp/library_symbols_test.rb
index c5927c2a89..9a52d189ba 100644
--- a/test/yarp/library_symbols_test.rb
+++ b/test/yarp/library_symbols_test.rb
@@ -11,9 +11,9 @@ if RUBY_PLATFORM =~ /linux/
def setup
super
- @librubyparser_a = File.expand_path(File.join(__dir__, "..", "build", "librubyparser.a"))
- @librubyparser_so = File.expand_path(File.join(__dir__, "..", "build", "librubyparser.so"))
- @yarp_so = File.expand_path(File.join(__dir__, "..", "lib", "yarp", "yarp.so"))
+ @librubyparser_a = File.expand_path("../../build/librubyparser.a", __dir__)
+ @librubyparser_so = File.expand_path("../../build/librubyparser.so", __dir__)
+ @yarp_so = File.expand_path("../../lib/yarp/yarp.so", __dir__)
end
# objdump runner and helpers