Skip to content

Commit

Permalink
test/rubygems/test_gem_ext_cmake_builder.rb: make sure cmake available
Browse files Browse the repository at this point in the history
just for a case.  In addition, this change suppresses unused variable
warning.
  • Loading branch information
mame committed May 10, 2020
1 parent 889b0fe commit 3bf0d2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/rubygems/test_gem_ext_cmake_builder.rb
Expand Up @@ -12,6 +12,7 @@ def setup

begin
_, status = Open3.capture2e('cmake')
skip 'cmake not present' unless status.success?
rescue Errno::ENOENT
skip 'cmake not present'
end
Expand Down

0 comments on commit 3bf0d2b

Please sign in to comment.