@@ -171,6 +171,31 @@ elif [[ "$1" == "cmake.maintainer.abiv2.test" ]]; then
171171 eval " $MAKE_COMMAND "
172172 make test
173173 exit 0
174+ elif [[ " $1 " == " cmake.maintainer.yaml.test" ]]; then
175+ cd " ${BUILD_DIR} "
176+ rm -rf *
177+ cmake " ${CMAKE_OPTIONS[@]} " \
178+ -DWITH_OTLP_HTTP=ON \
179+ -DWITH_OTLP_GRPC=ON \
180+ -DWITH_OTLP_FILE=ON \
181+ -DWITH_PROMETHEUS=ON \
182+ -DWITH_EXAMPLES=ON \
183+ -DWITH_EXAMPLES_HTTP=ON \
184+ -DWITH_ZIPKIN=ON \
185+ -DBUILD_W3CTRACECONTEXT_TEST=ON \
186+ -DWITH_ELASTICSEARCH=ON \
187+ -DWITH_METRICS_EXEMPLAR_PREVIEW=ON \
188+ -DWITH_ASYNC_EXPORT_PREVIEW=OFF \
189+ -DOTELCPP_MAINTAINER_MODE=ON \
190+ -DWITH_NO_DEPRECATED_CODE=ON \
191+ -DWITH_OTLP_HTTP_COMPRESSION=ON \
192+ -DWITH_OTLP_RETRY_PREVIEW=ON \
193+ -DWITH_THREAD_INSTRUMENTATION_PREVIEW=ON \
194+ -DWITH_CONFIGURATION=ON \
195+ " ${SRC_DIR} "
196+ eval " $MAKE_COMMAND "
197+ make test
198+ exit 0
174199elif [[ " $1 " == " cmake.with_async_export.test" ]]; then
175200 cd " ${BUILD_DIR} "
176201 rm -rf *
511536 examples/plugin/load/load_plugin_example ${PLUGIN_DIR} /libexample_plugin.so /dev/null
512537 exit 0
513538elif [[ " $1 " == " bazel.no_bzlmod.test" ]]; then
514- bazel $BAZEL_STARTUP_OPTIONS build --enable_bzlmod=false $BAZEL_OPTIONS //...
515- bazel $BAZEL_STARTUP_OPTIONS test --enable_bzlmod=false $BAZEL_TEST_OPTIONS //...
539+ # Rapidyaml 0.9.0 as is does not support bazel,
540+ # modules in bazel central repository required
541+ # to build configuration.
542+ bazel $BAZEL_STARTUP_OPTIONS build --enable_bzlmod=false $BAZEL_OPTIONS -- //... -//examples/configuration/... -//sdk/src/configuration/... -//sdk/test/configuration/...
543+ bazel $BAZEL_STARTUP_OPTIONS test --enable_bzlmod=false $BAZEL_TEST_OPTIONS -- //... -//examples/configuration/... -//sdk/src/configuration/... -//sdk/test/configuration/...
516544 exit 0
517545elif [[ " $1 " == " bazel.test" ]]; then
518546 bazel $BAZEL_STARTUP_OPTIONS build $BAZEL_OPTIONS $BAZEL_WITH_PREVIEW //...
@@ -539,8 +567,8 @@ elif [[ "$1" == "bazel.noexcept" ]]; then
539567 # there are some exceptions and error handling code from the Prometheus Client
540568 # as well as Opentracing shim (due to some third party code in its Opentracing dependency)
541569 # that make this test always fail. Ignore these packages in the noexcept test here.
542- bazel $BAZEL_STARTUP_OPTIONS build --copt=-fno-exceptions $BAZEL_OPTIONS_ASYNC -- //... -//exporters/prometheus/... -//examples/prometheus/... -//opentracing-shim/...
543- bazel $BAZEL_STARTUP_OPTIONS test --copt=-fno-exceptions $BAZEL_TEST_OPTIONS_ASYNC -- //... -//exporters/prometheus/... -//examples/prometheus/... -//opentracing-shim/...
570+ bazel $BAZEL_STARTUP_OPTIONS build --copt=-fno-exceptions $BAZEL_OPTIONS_ASYNC -- //... -//exporters/prometheus/... -//examples/prometheus/... -//opentracing-shim/... -//examples/configuration/... -//sdk/src/configuration/... -//sdk/test/configuration/...
571+ bazel $BAZEL_STARTUP_OPTIONS test --copt=-fno-exceptions $BAZEL_TEST_OPTIONS_ASYNC -- //... -//exporters/prometheus/... -//examples/prometheus/... -//opentracing-shim/... -//examples/configuration/... -//sdk/src/configuration/... -//sdk/test/configuration/...
544572 exit 0
545573elif [[ " $1 " == " bazel.nortti" ]]; then
546574 # there are some exceptions and error handling code from the Prometheus Client
0 commit comments