aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/bazel/toolchain_test.sh
diff options
context:
space:
mode:
authorGravatar janakr <janakr@google.com>2018-02-14 11:55:24 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-02-14 11:57:22 -0800
commitd65be8ca28d5cea63144cb9b67104c7f69df64b7 (patch)
tree9cf93c8983e37d0e72e4c1c3e5814ffed177ea8a /src/test/shell/bazel/toolchain_test.sh
parentaddb86cce7389e6734ee4b7dbd01232441aae552 (diff)
Get rid of unnecessary target retrieval in ToolchainUtil: the label will do just as well as the target.
PiperOrigin-RevId: 185721605
Diffstat (limited to 'src/test/shell/bazel/toolchain_test.sh')
-rwxr-xr-xsrc/test/shell/bazel/toolchain_test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/shell/bazel/toolchain_test.sh b/src/test/shell/bazel/toolchain_test.sh
index 8110d61572..002a779531 100755
--- a/src/test/shell/bazel/toolchain_test.sh
+++ b/src/test/shell/bazel/toolchain_test.sh
@@ -648,10 +648,10 @@ EOF
EOF
bazel build --platforms=//platform:not_a_platform //demo:use &> $TEST_log && fail "Build failure expected"
- expect_log "While resolving toolchains for target //demo:use: Target filegroup rule //platform:not_a_platform was found as the target platform, but does not provide PlatformInfo"
+ expect_log "While resolving toolchains for target //demo:use: Target //platform:not_a_platform was found as the target platform, but does not provide PlatformInfo"
bazel build --host_platform=//platform:not_a_platform //demo:use &> $TEST_log && fail "Build failure expected"
- expect_log "While resolving toolchains for target //demo:use: Target filegroup rule //platform:not_a_platform was found as the host platform, but does not provide PlatformInfo"
+ expect_log "While resolving toolchains for target //demo:use: Target //platform:not_a_platform was found as the host platform, but does not provide PlatformInfo"
}
run_suite "toolchain tests"