2021-04-08 13:21:13 +02:00
|
|
|
#!/bin/bash -eu
|
|
|
|
|
2021-04-21 13:10:09 +02:00
|
|
|
set -o pipefail
|
|
|
|
|
2021-04-08 13:21:13 +02: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 16:40:03 +02:00
|
|
|
create_mock_bazel
|
2021-04-08 13:21:13 +02:00
|
|
|
|
2021-06-01 13:19:53 +02:00
|
|
|
STANDALONE_BAZEL=true run_bazel info
|
2021-04-08 13:21:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
test_bazel_smoke
|