mysql-test/include/not_asan.inc (5 lines of code) (raw):

let $have_asan = `SELECT VERSION() LIKE '%asan%'`; if ($have_asan) { --skip Test requires 'not_asan' }