diff options
author | Dave MacLachlan <dmaclach@google.com> | 2015-11-06 20:12:43 +0000 |
---|---|---|
committer | Florian Weikert <fwe@google.com> | 2015-11-06 22:53:56 +0000 |
commit | 69a3f3621ea5c96edab39fde29fa1eb76d83006c (patch) | |
tree | 1f6b8296e562407968b56d28c99e4291d9eecd6b /compile.sh | |
parent | 7c1639d2948a49231f0af715330b4056d3d82fdd (diff) |
Fixes up bash stack walking on Mac OS. There are cases where BASH_SOURCE is a sparse array with holes. This appears to be due to the sub shell launching of the tests. By using FUNCNAME as our count of stack frames, and "ignoring" the holes, we get much better stack output on the Mac. Previously we were just erroring out.
RELNOTES:none
--
MOS_MIGRATED_REVID=107255705
Diffstat (limited to 'compile.sh')
0 files changed, 0 insertions, 0 deletions