@@ -26,11 +26,15 @@ jobs:
2626 - name : Configure libcups
2727 env :
2828 CC : /usr/bin/gcc
29- run : ./configure --enable-debug --enable-debug-printfs --enable-maintainer --with-tls=openssl || (cat config.log; pkg-config --list-all; exit 1)
29+ run : ./configure --enable-debug --enable-maintainer --with-tls=openssl --with-sanitizer=address || (cat config.log; pkg-config --list-all; exit 1)
3030 - name : Make libcups
3131 run : make
3232 - name : Test libcups
33- run : make test || cat cups/test.log && exit 1
33+ env :
34+ ASAN_OPTIONS : leak_check_at_exit=false
35+ CUPS_DEBUG_LOG : +test-debug.log
36+ CUPS_DEBUG_LEVEL : 4
37+ run : make test || (cat cups/test*.log; test tools/test.log && cat tools/test*.log; exit 1)
3438
3539 build-linux-gnutls :
3640
@@ -50,11 +54,15 @@ jobs:
5054 - name : Configure libcups
5155 env :
5256 CC : /usr/bin/gcc
53- run : ./configure --enable-debug --enable-debug-printfs --enable-maintainer --with-tls=gnutls || (cat config.log; pkg-config --list-all; exit 1)
57+ run : ./configure --enable-debug --enable-maintainer --with-tls=gnutls --with-sanitizer=address || (cat config.log; pkg-config --list-all; exit 1)
5458 - name : Make libcups
5559 run : make
5660 - name : Test libcups
57- run : make test || cat cups/test.log && exit 1
61+ env :
62+ ASAN_OPTIONS : leak_check_at_exit=false
63+ CUPS_DEBUG_LOG : +test-debug.log
64+ CUPS_DEBUG_LEVEL : 4
65+ run : make test || (cat cups/test*.log; test tools/test.log && cat tools/test*.log; exit 1)
5866
5967 build-macos :
6068
@@ -66,11 +74,14 @@ jobs:
6674 with :
6775 submodules : recursive
6876 - name : Configure libcups
69- run : ./configure --enable-debug --enable-debug-printfs --enable-maintainer || (cat config.log; pkg-config --list-all; exit 1)
77+ run : ./configure --enable-debug --enable-maintainer --with-sanitizer=address || (cat config.log; pkg-config --list-all; exit 1)
7078 - name : Make libcups
7179 run : make
7280 - name : Test libcups
73- run : make test || cat cups/test.log && exit 1
81+ env :
82+ CUPS_DEBUG_LOG : +test-debug.log
83+ CUPS_DEBUG_LEVEL : 4
84+ run : make test || (cat cups/test*.log; test tools/test.log && cat tools/test*.log; exit 1)
7485
7586 build-windows :
7687
0 commit comments