Skip to content

Commit 90a28de

Browse files
committed
Include TCMALLOC_STACKTRACE_METHOD in output.
If TCMALLOC_STACKTRACE_METHOD happens to be set, include it in the debug output to make reproducing test cases easier.
1 parent fd5a6bb commit 90a28de

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/run_test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ output_failed_logs() {
3333
}
3434
trap output_failed_logs 0
3535

36+
if [ ! -z "${TCMALLOC_STACKTRACE_METHOD}" ]; then
37+
echo TCMALLOC_STACKTRACE_METHOD="${TCMALLOC_STACKTRACE_METHOD}"
38+
echo export TCMALLOC_STACKTRACE_METHOD
39+
export TCMALLOC_STACKTRACE_METHOD
40+
fi
41+
3642
if [ -z "${LTESTS}" ]; then
3743
make ${TEST_TARGET} SKIP_LTESTS="${SKIP_LTESTS}"
3844
else

0 commit comments

Comments
 (0)