未验证 提交 d8a49b53 编写于 作者: R rsheeter 提交者: GitHub

Update TESTING.md

上级 25a5b287
......@@ -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
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册