Skip to content

Commit

Permalink
Disable rbe_autoconfig tests that fail with Bazel releases (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
smukherj1 authored Jan 22, 2021
1 parent 2a69a3d commit 471da02
Showing 1 changed file with 38 additions and 36 deletions.
74 changes: 38 additions & 36 deletions tests/rbe_repo/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -793,24 +793,25 @@ file_test(
# tests that use rbe_autoconf_custom_toolchain_config_suite_spec_export
# validate it generates configs when a custom versions.bzl
# file is used.
sh_test(
name = "rbe_autoconf_custom_toolchain_config_suite_spec_export_test",
srcs = [":rbe_autoconf_output_base_config_dir_checks.sh"],
args = [
"$(location @rbe_autoconf_custom_toolchain_config_suite_spec_export//test:empty)",
"rbe-test-output/config/rbe_autoconf_custom_toolchain_config_suite_spec_export",
"test_config_dir",
_ubuntu1604_bazel,
"assert_output_base_cc_confs",
"assert_output_base_java_confs",
"assert_output_base_platform_confs",
],
data = [
":rbe_autoconf_checks.sh",
"@rbe_autoconf_custom_toolchain_config_suite_spec_export//test:empty",
"@rbe_autoconf_custom_toolchain_config_suite_spec_export//test:exported_testdata",
],
)
# Fails whenever a new Bazel version is out but configs aren't out
# sh_test(
# name = "rbe_autoconf_custom_toolchain_config_suite_spec_export_test",
# srcs = [":rbe_autoconf_output_base_config_dir_checks.sh"],
# args = [
# "$(location @rbe_autoconf_custom_toolchain_config_suite_spec_export//test:empty)",
# "rbe-test-output/config/rbe_autoconf_custom_toolchain_config_suite_spec_export",
# "test_config_dir",
# _ubuntu1604_bazel,
# "assert_output_base_cc_confs",
# "assert_output_base_java_confs",
# "assert_output_base_platform_confs",
# ],
# data = [
# ":rbe_autoconf_checks.sh",
# "@rbe_autoconf_custom_toolchain_config_suite_spec_export//test:empty",
# "@rbe_autoconf_custom_toolchain_config_suite_spec_export//test:exported_testdata",
# ],
#)

sh_test(
name = "rbe_autoconf_custom_toolchain_config_suite_spec_export_external_repo_test",
Expand All @@ -832,24 +833,25 @@ sh_test(
# tests that use rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions
# validate it generates configs when a blank versions.bzl
# file is used.
sh_test(
name = "rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions_test",
srcs = [":rbe_autoconf_output_base_config_dir_checks.sh"],
args = [
"$(location @rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions//test:empty)",
"rbe-test-output/config/rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions",
"default_toolchain_config_spec_name",
_ubuntu1604_bazel,
"assert_output_base_cc_confs",
"assert_output_base_java_confs",
"assert_output_base_platform_confs",
],
data = [
":rbe_autoconf_checks.sh",
"@rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions//test:empty",
"@rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions//test:exported_testdata",
],
)
# Fails whenever a new Bazel version is out but configs aren't out
#sh_test(
# name = "rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions_test",
# srcs = [":rbe_autoconf_output_base_config_dir_checks.sh"],
# args = [
# "$(location @rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions//test:empty)",
# "rbe-test-output/config/rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions",
# "default_toolchain_config_spec_name",
# _ubuntu1604_bazel,
# "assert_output_base_cc_confs",
# "assert_output_base_java_confs",
# "assert_output_base_platform_confs",
# ],
# data = [
# ":rbe_autoconf_checks.sh",
# "@rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions//test:empty",
# "@rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions//test:exported_testdata",
# ],
#)

sh_test(
name = "rbe_autoconf_custom_toolchain_config_suite_spec_blank_versions_external_repo_test",
Expand Down

0 comments on commit 471da02

Please sign in to comment.