Skip to content

Commit

Permalink
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/truffle/truffle.mspec
Original file line number Diff line number Diff line change
@@ -10,6 +10,10 @@ class MSpecScript
RbConfig::CONFIG['host_os'] == 'linux'
end

def self.solaris?
RbConfig::CONFIG['host_os'] == 'solaris'
end

JRUBY_DIR = File.expand_path('../../..', __FILE__)

set :target, "#{JRUBY_DIR}/bin/jruby#{windows? ? '.bat' : ''}"
@@ -141,6 +145,11 @@ class MSpecScript
set :xtags, (get(:xtags) || []) + ['linux']
end

if solaris?
# exclude specs tagged with 'solaris'
set :xtags, (get(:xtags) || []) + ['solaris']
end

# Enable features
MSpec.enable_feature :fiber
MSpec.enable_feature :fiber_library

0 comments on commit e1beee1

Please sign in to comment.