diff options
author | Derek Mauro <dmauro@google.com> | 2022-07-05 09:37:54 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-07-05 09:39:15 -0700 |
commit | 4bbdb026899fea9f882a95cbd7d6a4adaf49b2dd (patch) | |
tree | 3594e5df55a078741618ddc837a6cde6f115cfff /ci/macos_xcode_bazel.sh | |
parent | f4988f5bd4176345aad2a525e24d5fd11b3c97ea (diff) |
Disable C++11 testing, enable C++14 and C++20 in some configurations
where it wasn't enabled
PiperOrigin-RevId: 459092217
Change-Id: I4500bba8a09f4b320610a8170a26e93fdf7e0cab
Diffstat (limited to 'ci/macos_xcode_bazel.sh')
-rwxr-xr-x | ci/macos_xcode_bazel.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/macos_xcode_bazel.sh b/ci/macos_xcode_bazel.sh index 8d69f1de..f6b9ec39 100755 --- a/ci/macos_xcode_bazel.sh +++ b/ci/macos_xcode_bazel.sh @@ -54,7 +54,8 @@ fi ${BAZEL_BIN} test ... \ --copt="-DGTEST_REMOVE_LEGACY_TEST_CASEAPI_=1" \ - --copt=-Werror \ + --copt="-Werror" \ + --cxxopt="-std=c++14" \ --keep_going \ --show_timestamps \ --test_env="TZDIR=${ABSEIL_ROOT}/absl/time/internal/cctz/testdata/zoneinfo" \ |