Skip to content

Commit

Permalink
Auto-skip specs that are not found
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Mar 7, 2023
1 parent 3e7802a commit 0b48a14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ def mspec_cmds(pattern, spec_folder, action='ci')
p.gsub! /fixnum|bignum/, 'integer'
"#{spec_folder}/rubyspec/core/#{p}_spec.rb"
end
if !File.exist?(spec_paths.first)
puts "NOT FOUND: No spec found for #{path}"
next
end
if USE_MSPEC_GEM
cmd = "mspec #{action}"
else
Expand Down

0 comments on commit 0b48a14

Please sign in to comment.