diff options
author | rsheeter <rsheeter@google.com> | 2019-05-10 16:52:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-10 16:52:43 -0700 |
commit | d8a49b53e3676ad742bdb8edf0ec3ca6f7a7cac9 (patch) | |
tree | 9104a38d55296233d22d804bb989c0236ab80f99 /TESTING.md | |
parent | 25a5b287f220802728cd3312692f368c45d22862 (diff) | |
download | harfbuzz_ng-d8a49b53e3676ad742bdb8edf0ec3ca6f7a7cac9.tar.gz |
Update TESTING.md
Diffstat (limited to 'TESTING.md')
-rw-r--r-- | TESTING.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/TESTING.md b/TESTING.md index a690afe92..ba9e32f2c 100644 --- a/TESTING.md +++ b/TESTING.md @@ -6,7 +6,7 @@ Values defined in `hb-debug.hh`. ```shell # quick sanity check time (make -j4 CPPFLAGS='-DHB_DEBUG_SUBSET=100' \ - && {make -j4 -C test/api check || cat test/api/test-suite.log}) + && (make -j4 -C test/api check || cat test/api/test-suite.log)) # slower sanity check time (make -j4 CPPFLAGS='-DHB_DEBUG_SUBSET=100' \ @@ -22,6 +22,13 @@ time (make -j4 CPPFLAGS='-DHB_DEBUG_SUBSET=100' \ make distcheck ``` +### Run tests with asan + +```shell +./configure CC=clang CXX=clang++ CPPFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address +# make/run tests as usual +``` + ### Debug with GDB ``` |