mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
spec/../rbconfig_spec.rb: skip spec not working on MinGW
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0dab1fce7c
commit
f22ffd83e9
1 changed files with 12 additions and 9 deletions
|
@ -9,6 +9,8 @@ describe 'RbConfig::CONFIG' do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# On MinGW, RbConfig points to installed dir, and these tests fail when testing this from build dir on AppVeyor.
|
||||||
|
platform_is_not :mingw do
|
||||||
it "['rubylibdir'] returns the directory containing Ruby standard libraries" do
|
it "['rubylibdir'] returns the directory containing Ruby standard libraries" do
|
||||||
rubylibdir = RbConfig::CONFIG['rubylibdir']
|
rubylibdir = RbConfig::CONFIG['rubylibdir']
|
||||||
File.directory?(rubylibdir).should == true
|
File.directory?(rubylibdir).should == true
|
||||||
|
@ -20,4 +22,5 @@ describe 'RbConfig::CONFIG' do
|
||||||
File.directory?(archdir).should == true
|
File.directory?(archdir).should == true
|
||||||
File.exist?("#{archdir}/etc.#{RbConfig::CONFIG['DLEXT']}").should == true
|
File.exist?("#{archdir}/etc.#{RbConfig::CONFIG['DLEXT']}").should == true
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue