Merge "Fix test to use --experimental_platform_in_output_dir." am: 3e4d25552b

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

Change-Id: I03af54b556e789939c12358d2c0484697d95e99a
This commit is contained in:
Jingwen Chen
2021-10-13 07:21:58 +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