We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcaaa9b commit 8dc82daCopy full SHA for 8dc82da
1 file changed
tox.ini
@@ -23,10 +23,12 @@ commands =
23
coverage xml -i
24
25
[testenv:asan]
26
+# Use debug python as default python gives address sanitization errors.
27
+basepython=python3d
28
setenv=
29
PYTHONDEVMODE=1
30
PYTHONMALLOC=malloc
- CFLAGS=-lasan -fsanitize=address -fno-omit-frame-pointer
31
+ CFLAGS=-lasan -fsanitize=address -fno-omit-frame-pointer -Og -g
32
allowlist_externals=bash
33
commands=
34
bash -c 'export LD_PRELOAD=$(gcc -print-file-name=libasan.so) && printenv LD_PRELOAD && python -c "from isal import isal_zlib" && pytest tests'
0 commit comments