tests: skip certain tests when address sanitizers are used

This commit is contained in:
Moritz Bunkus 2021-04-09 18:07:15 +02:00
parent 0a2cb7d1bd
commit 14d85a6970
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85
3 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,8 @@
# T_449segfaults_assertions
describe "mkvmerge & mkvinfo / segfaults and assertions"
skip_if c?(:USE_ADDRSAN)
dir = "data/segfaults-assertions"
test_merge "#{dir}/1089-1.mkv", :exit_code => :error

View File

@ -3,6 +3,8 @@
# T_506cisco_talos_can_0037
describe "mkvmerge, mkvinfo / invalid memory access reported as Cisco TALOS-CAN-0037"
skip_if c?(:USE_ADDRSAN)
exit_codes = {
"data/segfaults-assertions/cisco-talos-can-0037/id:000409,sig:06,src:001692,op:havoc,rep:32" => :warning,
}

View File

@ -3,6 +3,8 @@
# T_676cover_art_vorbis_opus
describe "mkvmerge / reading cover art from Vorbis & Opus tags"
skip_if c?(:USE_ADDRSAN)
expected_md5s = {
:png => "72e193b0682dad985317cd03d2be1ab9",
:jpg => "e55849ace1748ac515b16881e397101a",