[前][次][番号順一覧][スレッド一覧]

ruby-changes:71315

From: Nobuyoshi <ko1@a...>
Date: Wed, 2 Mar 2022 18:40:24 +0900 (JST)
Subject: [ruby-changes:71315] f07f476518 (master): Exclude binstubs tests

https://git.ruby-lang.org/ruby.git/commit/?id=f07f476518

From f07f47651884ccb30a1493ed69d397e1f43f5267 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 2 Mar 2022 18:37:53 +0900
Subject: Exclude binstubs tests

When relative loading is enabled, the executable ruby is expected
installed at the same directory as the binstub.
---
 test/excludes/TestGem.rb | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 test/excludes/TestGem.rb

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 @@ https://github.com/ruby/ruby/blob/trunk/test/excludes/TestGem.rb#L1
+if RbConfig::CONFIG["LIBRUBY_RELATIVE"] == "yes"
+  exclude(/test_looks_for_gemdeps_files_automatically_from_binstubs/,
+         "can't test before installation")
+end
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]