diff options
author | Benjamin Barenblat <bbaren@google.com> | 2022-06-06 12:28:04 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-06-06 12:28:41 -0700 |
commit | ba9f2f66095702db6b9580b40e8602ef64ec922d (patch) | |
tree | d5da0a175e6698c39007439b37d40fcf9598f272 /absl/debugging | |
parent | 91b8bfab44baf5c89efabd6f6b8b33f6a42f39b6 (diff) |
Ignore invalid TZ settings in tests
For portability, absl_time_test builds a small, incomplete tzdata
database into the test binary and uses that instead of the system tzdata
database. (absl_time_test needs to run on some platforms that lack a
system tzdata database.) However, this causes issues if TZ is set to
something that isn’t in the test database. To address them, fall back to
America/Los_Angeles if TZ is set to an unknown value during testing.
Bug: https://bugs.debian.org/1012194
PiperOrigin-RevId: 453257912
Change-Id: I293d0f96876b31c32a2847468a3377bb49f3aa15
Diffstat (limited to 'absl/debugging')
0 files changed, 0 insertions, 0 deletions