We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8d88c8 commit e181fe9Copy full SHA for e181fe9
Rakefile
@@ -22,10 +22,14 @@ end
22
Rake::TestTask.new(test: :compile, &test_config)
23
24
unless Gem.win_platform?
25
- require "ruby_memcheck"
+ begin
26
+ require "ruby_memcheck"
27
- namespace :test do
28
- RubyMemcheck::TestTask.new(valgrind: :compile, &test_config)
+ namespace :test do
29
+ RubyMemcheck::TestTask.new(valgrind: :compile, &test_config)
30
+ end
31
+ rescue LoadError => exn
32
+ STDERR.puts "🚨🚨🚨🚨 Skipping RubyMemcheck: #{exn.inspect} 🚨🚨🚨🚨"
33
end
34
35
0 commit comments