gtest's CapturedStream on Linux hardcoded /tmp/ for its temp file without consulting the environment, causing failures in sandboxed environments where /tmp is read-only. Use TempDir() instead, which checks TEST_TMPDIR then TMPDIR and falls back to /tmp/, matching the behavior already present on Android and macOS/iOS. See also upstream PR: https://github.com/google/googletest/pull/4962 Assisted-by: Claude Code |
||
|---|---|---|
| .. | ||
| benchmark | ||
| boost-math | ||
| siphash/include/siphash | ||
| unittest | ||
| README.md | ||
| update_benchmark.sh | ||
| update_boost_math.sh | ||
Third-party LLVM dependencies
This directory contains third-party dependencies used in various components of LLVM. Integrating a new third-party dependency generally requires it to be licensed under the Apache-with-LLVM-exception license. For integrating code under other licenses, please follow the process explained in the LLVM Developer Policy.
In particular, due to its non-LLVM license, the Boost.Math third-party dependency can exclusively be used within the libc++ compiled library as discussed in this RFC. Do not use it in other parts of LLVM without prior discussion with the LLVM Board (and update this documentation).