Skip to content

Commit

Permalink
Merge pull request #2315 from sparklemotion/flavorjones-fix-default-v…
Browse files Browse the repository at this point in the history
…algrind-suppression

ci: fix default valgrind suppression
  • Loading branch information
flavorjones authored Aug 18, 2021
2 parents e9190ac + 5e7ed9a commit a28eee1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions rakelib/test.rake
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class ValgrindTestTask < Rake::TestTask
matches << formatted_ruby_version.split(".")[0,3].join(".") # e.g. "ruby-2.5.1"
matches << formatted_ruby_version.split(".")[0,2].join(".") # e.g. "ruby-2.5"
matches << formatted_ruby_version.split(".")[0,1].join(".") # e.g. "ruby-2"
matches << formatted_ruby_version.split("-").first # e.g. "ruby"
matches
end
end
Expand Down
2 changes: 1 addition & 1 deletion suppressions/nokogiri_ruby-2.7.supp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ruby 2.7 startup
Memcheck:Addr4
fun:iseq_peephole_optimize
fun:iseq_optimize
fun:iseq_optimize*
fun:iseq_setup_insn
fun:iseq_setup_insn
fun:rb_iseq_compile_node
Expand Down
10 changes: 10 additions & 0 deletions suppressions/nokogiri_ruby.supp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
this should be caught by default suppressions see #2314
Memcheck:Addr8
fun:strncmp
fun:is_dst
fun:_dl_dst_*
...
fun:_dl_map_object
...
}

0 comments on commit a28eee1

Please sign in to comment.