2021-04-08 19:21:13 +08:00
|
|
|
#!/bin/bash -eu
|
|
|
|
|
2021-04-21 19:10:09 +08:00
|
|
|
set -o pipefail
|
|
|
|
|
2021-04-08 19:21:13 +08:00
|
|
|
# This test exercises mixed builds where Soong and Bazel cooperate in building
|
|
|
|
# Android.
|
|
|
|
#
|
|
|
|
# When the execroot is deleted, the Bazel server process will automatically
|
|
|
|
# terminate itself.
|
|
|
|
|
|
|
|
source "$(dirname "$0")/lib.sh"
|
|
|
|
|
|
|
|
function test_bazel_smoke {
|
|
|
|
setup
|
2021-04-14 22:40:03 +08:00
|
|
|
create_mock_bazel
|
2021-04-08 19:21:13 +08:00
|
|
|
|
2021-04-21 19:10:09 +08:00
|
|
|
run_bazel info
|
2021-04-08 19:21:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
test_bazel_smoke
|