summaryrefslogtreecommitdiff
path: root/test/excludes
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-03-02 18:37:53 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-03-02 18:37:53 +0900
commitf07f47651884ccb30a1493ed69d397e1f43f5267 (patch)
tree146279e6139c2d1c1eb34480bcee10ef06afd364 /test/excludes
parentdb740b7e5ca0900898fdc93057d4892faad9b3a1 (diff)
downloadruby-f07f47651884ccb30a1493ed69d397e1f43f5267.tar.gz
Exclude binstubs tests
When relative loading is enabled, the executable ruby is expected installed at the same directory as the binstub.
Diffstat (limited to 'test/excludes')
-rw-r--r--test/excludes/TestGem.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/excludes/TestGem.rb b/test/excludes/TestGem.rb
new file mode 100644
index 0000000000..042af26eff
--- /dev/null
+++ b/test/excludes/TestGem.rb
@@ -0,0 +1,4 @@
+if RbConfig::CONFIG["LIBRUBY_RELATIVE"] == "yes"
+ exclude(/test_looks_for_gemdeps_files_automatically_from_binstubs/,
+ "can't test before installation")
+end