summaryrefslogtreecommitdiff
path: root/ci/linux_clang-latest_libcxx_asan_bazel.sh
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-01-28 09:04:58 -0800
committerGravatar dinord <dino.radakovich@gmail.com>2022-01-28 14:57:21 -0500
commit940c06c25d2953f44310b68eb8aab6114dba11fb (patch)
tree30b8b26c3bb8fbdf89d7799a8c06a2d96550af66 /ci/linux_clang-latest_libcxx_asan_bazel.sh
parenta655ec4aff1cad3d4d076781ec302cdaaf97993f (diff)
Export of internal Abseil changes
-- ef2bdebfdff0a93d3af6248d709d42a47fe2e7b4 by Derek Mauro <dmauro@google.com>: Compile with -DGTEST_REMOVE_LEGACY_TEST_CASEAPI_ in Bazel CI builds to prevent uses of the legacy TestCase API from sneaking in PiperOrigin-RevId: 424882792 -- 4cf19d7b4dd855685deb0d4d3170e4db9f6f789b by Abseil Team <absl-team@google.com>: Fix typo in comment. PiperOrigin-RevId: 424745867 GitOrigin-RevId: ef2bdebfdff0a93d3af6248d709d42a47fe2e7b4 Change-Id: I50ad9b4cf3fa17831aa6521c58d81b0ce8ec0c47
Diffstat (limited to 'ci/linux_clang-latest_libcxx_asan_bazel.sh')
-rwxr-xr-xci/linux_clang-latest_libcxx_asan_bazel.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/linux_clang-latest_libcxx_asan_bazel.sh b/ci/linux_clang-latest_libcxx_asan_bazel.sh
index 0605e2b3..196e5c1d 100755
--- a/ci/linux_clang-latest_libcxx_asan_bazel.sh
+++ b/ci/linux_clang-latest_libcxx_asan_bazel.sh
@@ -77,6 +77,7 @@ for std in ${STD}; do
/usr/local/bin/bazel test ... \
--compilation_mode="${compilation_mode}" \
--copt="${exceptions_mode}" \
+ --copt="-DGTEST_REMOVE_LEGACY_TEST_CASEAPI_=1" \
--copt="-fsanitize=address" \
--copt="-fsanitize=float-divide-by-zero" \
--copt="-fsanitize=nullability" \