Internal change

PiperOrigin-RevId: 538294711
pull/12995/head
Marcel Hlopko 2 years ago committed by Copybara-Service
parent 4329fde9cf
commit c0c66ec1ea
  1. 4
      rust/test/cpp/interop/BUILD
  2. 4
      rust/test/rust_proto_library_unit_test/rust_proto_library_unit_test.bzl
  3. 40
      rust/test/shared/BUILD

@ -15,10 +15,6 @@ cc_library(
rust_test( rust_test(
name = "interop_test", name = "interop_test",
srcs = ["main.rs"], srcs = ["main.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = [ deps = [
":test_utils", ":test_utils",
"//rust:protobuf_cpp", "//rust:protobuf_cpp",

@ -76,8 +76,6 @@ def _test_upb_aspect():
rust_upb_aspect_test( rust_upb_aspect_test(
name = "rust_upb_aspect_test", name = "rust_upb_aspect_test",
target_under_test = ":child_proto_with_upb_aspect", target_under_test = ":child_proto_with_upb_aspect",
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
tags = ["not_build:arm"],
) )
#################################################################################################### ####################################################################################################
@ -107,8 +105,6 @@ def _test_cc_aspect():
rust_cc_aspect_test( rust_cc_aspect_test(
name = "rust_cc_aspect_test", name = "rust_cc_aspect_test",
target_under_test = ":child_proto_with_cc_aspect", target_under_test = ":child_proto_with_cc_aspect",
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
tags = ["not_build:arm"],
) )
#################################################################################################### ####################################################################################################

@ -19,10 +19,6 @@ load("@rules_rust//rust:defs.bzl", "rust_test")
rust_test( rust_test(
name = "child_parent_upb_test", name = "child_parent_upb_test",
srcs = ["child_parent_test.rs"], srcs = ["child_parent_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = [ deps = [
"//rust/test:child_upb_rust_proto", "//rust/test:child_upb_rust_proto",
"//rust/test:parent_upb_rust_proto", "//rust/test:parent_upb_rust_proto",
@ -32,10 +28,6 @@ rust_test(
rust_test( rust_test(
name = "child_parent_cpp_test", name = "child_parent_cpp_test",
srcs = ["child_parent_test.rs"], srcs = ["child_parent_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = [ deps = [
"//rust/test:child_cc_rust_proto", "//rust/test:child_cc_rust_proto",
"//rust/test:parent_cc_rust_proto", "//rust/test:parent_cc_rust_proto",
@ -45,10 +37,6 @@ rust_test(
rust_test( rust_test(
name = "package_cpp_test", name = "package_cpp_test",
srcs = ["package_test.rs"], srcs = ["package_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = [ deps = [
"//rust/test:dots_in_package_cc_rust_proto", "//rust/test:dots_in_package_cc_rust_proto",
"//rust/test:no_package_cc_rust_proto", "//rust/test:no_package_cc_rust_proto",
@ -59,10 +47,6 @@ rust_test(
rust_test( rust_test(
name = "package_upb_test", name = "package_upb_test",
srcs = ["package_test.rs"], srcs = ["package_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = [ deps = [
"//rust/test:dots_in_package_upb_rust_proto", "//rust/test:dots_in_package_upb_rust_proto",
"//rust/test:no_package_upb_rust_proto", "//rust/test:no_package_upb_rust_proto",
@ -73,59 +57,35 @@ rust_test(
rust_test( rust_test(
name = "nested_messages_cpp_test", name = "nested_messages_cpp_test",
srcs = ["nested_messages_test.rs"], srcs = ["nested_messages_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = ["//rust/test:unittest_cc_rust_proto"], deps = ["//rust/test:unittest_cc_rust_proto"],
) )
rust_test( rust_test(
name = "nested_messages_upb_test", name = "nested_messages_upb_test",
srcs = ["nested_messages_test.rs"], srcs = ["nested_messages_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = ["//rust/test:unittest_upb_rust_proto"], deps = ["//rust/test:unittest_upb_rust_proto"],
) )
rust_test( rust_test(
name = "accessors_cpp_test", name = "accessors_cpp_test",
srcs = ["accessors_test.rs"], srcs = ["accessors_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = ["//rust/test:unittest_cc_rust_proto"], deps = ["//rust/test:unittest_cc_rust_proto"],
) )
rust_test( rust_test(
name = "accessors_upb_test", name = "accessors_upb_test",
srcs = ["accessors_test.rs"], srcs = ["accessors_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = ["//rust/test:unittest_upb_rust_proto"], deps = ["//rust/test:unittest_upb_rust_proto"],
) )
rust_test( rust_test(
name = "serialization_upb_test", name = "serialization_upb_test",
srcs = ["serialization_test.rs"], srcs = ["serialization_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = ["//rust/test:unittest_upb_rust_proto"], deps = ["//rust/test:unittest_upb_rust_proto"],
) )
rust_test( rust_test(
name = "serialization_cpp_test", name = "serialization_cpp_test",
srcs = ["serialization_test.rs"], srcs = ["serialization_test.rs"],
tags = [
# TODO(b/270274576): Enable testing on arm once we have a Rust Arm toolchain.
"not_build:arm",
],
deps = ["//rust/test:unittest_cc_rust_proto"], deps = ["//rust/test:unittest_cc_rust_proto"],
) )

Loading…
Cancel
Save