Skip to content

Commit

Permalink
add asan availability test on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
wlav committed Dec 8, 2021
1 parent 5679499 commit c8355a8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/test_fragile.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,17 @@ def test23_set_debug(self):
cppyy.set_debug(False)
assert cppyy.gbl.CppyyLegacy.gDebug == 0

def test24_asan(self):
"""Check availability of ASAN with gcc"""

import cppyy
import sys

if not 'linux' in sys.platform:
return

cppyy.include('sanitizer/asan_interface.h')


class TestSIGNALS:
def setup_class(cls):
Expand Down

0 comments on commit c8355a8

Please sign in to comment.