diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2016-03-17 10:42:57 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2016-03-17 10:42:57 -0700 |
commit | bb84c6a70ee15759fcc5c612847a1681f0ad68af (patch) | |
tree | 4e76cfc63ef6940cdd4c8c68e736e8464cd92432 /test/core/util | |
parent | c2ce51fbeb2fe40ec6c327ffd06482b6dfda2398 (diff) |
Make stack traces show up in run_tests.py logs
Diffstat (limited to 'test/core/util')
-rw-r--r-- | test/core/util/test_config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/util/test_config.c b/test/core/util/test_config.c index bf672e8f67..f408048fdf 100644 --- a/test/core/util/test_config.c +++ b/test/core/util/test_config.c @@ -99,6 +99,7 @@ static void print_current_stack() { SymFromAddrW(process, (DWORD64)(callers_stack[i]), 0, symbol); fwprintf(stderr, L"*** %d: %016I64X %ls - %016I64X\n", i, (DWORD64)callers_stack[i], symbol->Name, (DWORD64)symbol->Address); + fflush(stderr); } free(symbol); @@ -154,6 +155,7 @@ static void print_stack_from_context(CONTEXT c) { fwprintf( stderr, L"*** %016I64X %ls - %016I64X\n", (DWORD64)(s.AddrPC.Offset), has_symbol ? symbol->Name : L"<<no symbol>>", (DWORD64)symbol->Address); + fflush(stderr); } free(symbol); |