tvl-depot/absl/time/internal/cctz/testdata
Abseil Team 93dfcf74cb Export of internal Abseil changes.
--
855576faf9556573fd74c2874b290d8feb6565d5 by Gennadiy Rozental <rogeeff@google.com>:

Import of CCTZ from GitHub.

PiperOrigin-RevId: 241395451

--
b93bfd43eb2a992258f131e10f503526cfec6d48 by CJ Johnson <johnsoncj@google.com>:

Fixes comment over AbslHashValue for InlinedVector

PiperOrigin-RevId: 241368320

--
75f58dafcac7d78c28d92a61ec7e53c5b3b86697 by Matt Kulukundis <kfm@google.com>:

Do not call sampling logic for tables with custom allocators.

PiperOrigin-RevId: 241356451

--
09f1b4889476ff707a54189aff540e2fe1edcf61 by Derek Mauro <dmauro@google.com>:

Re-enable optionalTest.InPlaceTSFINAEBug after libc++ update

PiperOrigin-RevId: 241222673

--
01a8bb5a8cb1e13e88ddb92f9c0160beb6e126be by Derek Mauro <dmauro@google.com>:

Update Clang on Kokoro to r356196.

This includes a workaround for a -Wgnu-include-next warning fixed by
https://reviews.llvm.org/rG0706e144d57305782988dd4367530ae04986116f

PiperOrigin-RevId: 241222395

--
1de66bb669a7ec1494d6064677687f761ee2d369 by Abseil Team <absl-team@google.com>:

Remove identical test and fix char to string per comment

PiperOrigin-RevId: 240855512
GitOrigin-RevId: 855576faf9556573fd74c2874b290d8feb6565d5
Change-Id: Ie155b209ef5567e6597da6ef1844db7e2ad72586
2019-04-01 18:15:34 -04:00
..
zoneinfo Export of internal Abseil changes. 2019-04-01 18:15:34 -04:00
README.zoneinfo - fd5f3d7077270ffc5ea74cdb9e18bbae3b9b46aa Fix typo optional -> variant by Abseil Team <absl-team@google.com> 2018-04-23 12:57:34 -04:00
version Export of internal Abseil changes. 2019-04-01 18:15:34 -04:00

testdata/zoneinfo contains time-zone data files that may be used with CCTZ.
Install them in a location referenced by the ${TZDIR} environment variable.
Symbolic and hard links have been eliminated for portability.

On Linux systems the distribution's versions of these files can probably
already be found in the default ${TZDIR} location, /usr/share/zoneinfo.

New versions can be generated using the following shell script.

  #!/bin/sh -
  set -e
  DESTDIR=$(mktemp -d)
  trap "rm -fr ${DESTDIR}" 0 2 15
  (
    cd ${DESTDIR}
    git clone https://github.com/eggert/tz.git
    make --directory=tz \
        install DESTDIR=${DESTDIR} \
                DATAFORM=vanguard \
                TZDIR=/zoneinfo \
                REDO=posix_only \
                LOCALTIME=Factory \
                TZDATA_TEXT= \
                ZONETABLES=zone1970.tab
    tar --create --dereference --hard-dereference --file tzfile.tar \
        --directory=tz tzfile.h
    tar --create --dereference --hard-dereference --file zoneinfo.tar \
        --exclude=zoneinfo/posixrules zoneinfo \
        --directory=tz version
  )
  tar --extract --directory src --file ${DESTDIR}/tzfile.tar
  tar --extract --directory testdata --file ${DESTDIR}/zoneinfo.tar
  exit 0

To run the CCTZ tests using the testdata/zoneinfo files, execute:

  bazel test --test_env=TZDIR=${PWD}/testdata/zoneinfo ...