Skip to content

Commit

Permalink
fix bazel failing builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mishal23 committed Nov 5, 2020
1 parent 1d07b43 commit 33fa87e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ EOF
examples/plugin/load/load_plugin_example ${PLUGIN_DIR}/libexample_plugin.so /dev/null
exit 0
elif [[ "$1" == "bazel.test" ]]; then
bazel build $BAZEL_OPTIONS //... //exporters/etw/...
bazel test $BAZEL_TEST_OPTIONS //... //exporters/etw/...
bazel build $BAZEL_OPTIONS -- //... -//exporters/etw/...
bazel test $BAZEL_TEST_OPTIONS -- //... -//exporters/etw/...
exit 0
elif [[ "$1" == "bazel.legacy.test" ]]; then
# we uses C++ future and async() function to test the Prometheus Exporter functionality,
Expand All @@ -128,14 +128,14 @@ elif [[ "$1" == "bazel.noexcept" ]]; then
bazel test --copt=-fno-exceptions $BAZEL_TEST_OPTIONS -- //... -//exporters/prometheus/... -//exporters/etw/...
exit 0
elif [[ "$1" == "bazel.asan" ]]; then
bazel test --config=asan $BAZEL_TEST_OPTIONS -- //... //exporters/etw/...
bazel test --config=asan $BAZEL_TEST_OPTIONS -- //... -//exporters/etw/...
exit 0
elif [[ "$1" == "bazel.tsan" ]]; then
bazel test --config=tsan $BAZEL_TEST_OPTIONS //... //exporters/etw/...
bazel test --config=tsan $BAZEL_TEST_OPTIONS -- //... -//exporters/etw/...
exit 0
elif [[ "$1" == "bazel.valgrind" ]]; then
bazel build $BAZEL_OPTIONS //...
bazel test --run_under="/usr/bin/valgrind --leak-check=full --error-exitcode=1 --suppressions=\"${SRC_DIR}/ci/valgrind-suppressions\"" $BAZEL_TEST_OPTIONS //... //exporters/etw/...
bazel test --run_under="/usr/bin/valgrind --leak-check=full --error-exitcode=1 --suppressions=\"${SRC_DIR}/ci/valgrind-suppressions\"" $BAZEL_TEST_OPTIONS -- //... -//exporters/etw/...
exit 0
elif [[ "$1" == "benchmark" ]]; then
[ -z "${BENCHMARK_DIR}" ] && export BENCHMARK_DIR=$HOME/benchmark
Expand Down

0 comments on commit 33fa87e

Please sign in to comment.