diff --git a/.bazelignore b/.bazelignore index e5c02f2ce2..60ebe4e156 100644 --- a/.bazelignore +++ b/.bazelignore @@ -11,3 +11,4 @@ bazel-opentelemetry-cpp otel_sdk.zip WORKSPACE .bazelrc +otel_sdk_build.cmd diff --git a/.bazelrc b/.bazelrc index 1ea7fa274c..9a9ccdc675 100644 --- a/.bazelrc +++ b/.bazelrc @@ -66,3 +66,7 @@ try-import %workspace%/../top.bazelrc # Select the clang-cli, the definion is in the WORKSPACE (x64_windows-clang-cl) common:windows --extra_execution_platforms=//:x64_windows-clang-cl --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl + +test --test_size_filters=small,medium,large,enormous +test --test_timeout_filters=short,moderate,long,eternal +test --test_verbose_timeout_warnings diff --git a/otel_sdk_build.cmd b/otel_sdk_build.cmd index a38d8df412..20e9fa20e9 100644 --- a/otel_sdk_build.cmd +++ b/otel_sdk_build.cmd @@ -24,9 +24,9 @@ REM Exclude building otel_sdk_zip right now, do it later. This warms up the test "%__BAZEL__%" build --//:with_dll=true -- ... -otel_sdk_zip || goto:error rem We can't test dbg, fastbuild and opt at the same time, as done above ^^^ (no config "transition" possible when doing testing (AFAIK)) -"%__BAZEL__%" test --//:with_dll=true --test_size_filters=small,medium,large,enormous --test_timeout_filters=short,moderate,long,eternal --test_verbose_timeout_warnings -c dbg -- ... -otel_sdk_zip || goto:error -"%__BAZEL__%" test --//:with_dll=true --test_size_filters=small,medium,large,enormous --test_timeout_filters=short,moderate,long,eternal --test_verbose_timeout_warnings -c fastbuild -- ... -otel_sdk_zip || goto:error -"%__BAZEL__%" test --//:with_dll=true --test_size_filters=small,medium,large,enormous --test_timeout_filters=short,moderate,long,eternal --test_verbose_timeout_warnings -c opt -- ... -otel_sdk_zip || goto:error +"%__BAZEL__%" test --//:with_dll=true -c dbg -- ... -otel_sdk_zip || goto:error +"%__BAZEL__%" test --//:with_dll=true -c fastbuild -- ... -otel_sdk_zip || goto:error +"%__BAZEL__%" test --//:with_dll=true -c opt -- ... -otel_sdk_zip || goto:error "%__BAZEL__%" build --//:with_dll=true otel_sdk_zip || goto:error