diff options
author | Roberto Alanis Baez <alanisbaez@google.com> | 2021-12-16 19:32:31 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-12-16 19:32:31 +0000 |
commit | c7de961ef8534fb11b6970d480e7419ce680e31d (patch) | |
tree | ff2b8d9a86f46acebbe9b6cfc6cf7655f6957a9c | |
parent | c6127571b0e2aaf5b6d3aa13b80eca28969f35a2 (diff) | |
parent | a8283f4f784c903f740b30884d4f6221550071da (diff) | |
download | libwebm-c7de961ef8534fb11b6970d480e7419ce680e31d.tar.gz |
Merge "Fix asan_symbolize execution by adding pipe" into main
-rwxr-xr-x | infra/run_unit_tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/run_unit_tests.sh b/infra/run_unit_tests.sh index 96ce5ab..b98f4f3 100755 --- a/infra/run_unit_tests.sh +++ b/infra/run_unit_tests.sh @@ -103,8 +103,8 @@ dump_sanitizer_log() { *-asan) asanlog_symbolized="${BUILD_DIR}/asan_log.asanlog_symbolized" grep -v 'Invalid VP9' "${SANITIZER_LOG}" > "${SANITIZER_LOG}.2" || true - "${asan_symbolize_tool}" "${BUILD_DIR}" c++filt < "${SANITIZER_LOG}.2" \ - > "${asanlog_symbolized}" + "${asan_symbolize_tool}" "${BUILD_DIR}" < "${SANITIZER_LOG}.2" \ + | c++filt > "${asanlog_symbolized}" if [[ -s "${asanlog_symbolized}" ]]; then cat "${asanlog_symbolized}" return 1 |