diff --git a/tools/proto_format/proto_format.sh b/tools/proto_format/proto_format.sh index 2f64f9eb1cac8..74e0a8992f722 100755 --- a/tools/proto_format/proto_format.sh +++ b/tools/proto_format/proto_format.sh @@ -22,7 +22,7 @@ read -ra BAZEL_BUILD_OPTIONS <<< "${BAZEL_BUILD_OPTIONS:-}" if [[ "$2" == "--test" ]]; then echo "protoxform_test..." - ./tools/protoxform/protoxform_test.sh + BAZEL_BUILD_OPTIONS="${BAZEL_BUILD_OPTIONS[*]}" ./tools/protoxform/protoxform_test.sh bazel test "${BAZEL_BUILD_OPTIONS[@]}" //tools/protoxform:merge_active_shadow_test fi