Merge "Add test for b failing"

This commit is contained in:
Treehugger Robot 2023-07-05 23:55:58 +00:00 committed by Gerrit Code Review
commit 50619b69b8

View file

@ -23,6 +23,10 @@ lunch aosp_arm64
test_target=//build/bazel/scripts/difftool:difftool
if b build //build/bazel:nonexistent_module &>/dev/null ; then
echo "b did not fail when building a nonexistent module" >&2
exit 1
fi
b build "$test_target"
b build -- "$test_target"
b build "$test_target" --run-soong-tests