Skip to content

Commit

Permalink
Suppress rb_tracepoint_new leak so other leaks can be caught
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanahsmith committed Oct 21, 2021
1 parent 64531a5 commit 0fbc0e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ end
require "rake/testtask"
require "ruby_memcheck"

RubyMemcheck.config(binary_name: "rotoscope")
RubyMemcheck.config(
binary_name: "rotoscope",
skipped_ruby_functions: RubyMemcheck::Configuration::DEFAULT_SKIPPED_RUBY_FUNCTIONS + [
/\Arb_tracepoint_new\z/, # TODO: Fix this upstream ruby bug
],
)

test_config = lambda do |t|
t.test_files = FileList["test/*_test.rb"]
Expand Down

0 comments on commit 0fbc0e4

Please sign in to comment.