Fix test to use --experimental_platform_in_output_dir. am: ba6d4ac226 am: b9b4687e6d am: 6a2ae1354a

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1885748

Change-Id: I3e378629d4fb016c750a71888840f83f4cc10c16
This commit is contained in:
Jingwen Chen
2021-11-09 16:38:19 +00:00
committed by Automerger Merge Worker

View File

@@ -105,7 +105,7 @@ EOF
# NOTE: We don't actually use the extra BUILD file for anything here
run_bazel build --package_path=out/soong/workspace //foo/...
local the_answer_file="bazel-out/k8-fastbuild/bin/foo/convertible_soong_module/the_answer.txt"
local the_answer_file="bazel-out/android_target-fastbuild/bin/foo/convertible_soong_module/the_answer.txt"
if [[ ! -f "${the_answer_file}" ]]; then
fail "Expected '${the_answer_file}' to be generated, but was missing"
fi