mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip tests which do not work until installed when load-relative
This commit is contained in:
parent
073ff73972
commit
449b62ba01
1 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,7 @@ class TestGemRequire < Gem::TestCase
|
|||
|
||||
def test_dash_i_respects_default_library_extension_priority
|
||||
skip "extensions don't quite work on jruby" if Gem.java_platform?
|
||||
skip "not installed yet" unless RbConfig::TOPDIR
|
||||
|
||||
dash_i_ext_arg = util_install_extension_file('a')
|
||||
dash_i_lib_arg = util_install_ruby_file('a')
|
||||
|
@ -252,6 +253,8 @@ class TestGemRequire < Gem::TestCase
|
|||
stdlib one is already in $LOADED_FEATURES?. Reproducible by running the
|
||||
spaceship_specific_file test before this one" if java_platform?
|
||||
|
||||
skip "not installed yet" unless RbConfig::TOPDIR
|
||||
|
||||
lib_dir = File.expand_path("../../lib", File.dirname(__FILE__))
|
||||
rubylibdir = File.realdirpath(RbConfig::CONFIG["rubylibdir"])
|
||||
if rubylibdir == lib_dir
|
||||
|
|
Loading…
Reference in a new issue