Lukacs T. Berki | 3b730c4 | 2021-04-08 13:21:13 +0200 | [diff] [blame] | 1 | #!/bin/bash -eu |
| 2 | |
Rupert Shuttleworth | 2a4fc3e | 2021-04-21 07:10:09 -0400 | [diff] [blame] | 3 | set -o pipefail |
| 4 | |
Lukacs T. Berki | 3b730c4 | 2021-04-08 13:21:13 +0200 | [diff] [blame] | 5 | # This test exercises mixed builds where Soong and Bazel cooperate in building |
| 6 | # Android. |
| 7 | # |
| 8 | # When the execroot is deleted, the Bazel server process will automatically |
| 9 | # terminate itself. |
| 10 | |
| 11 | source "$(dirname "$0")/lib.sh" |
| 12 | |
Lukacs T. Berki | 3b730c4 | 2021-04-08 13:21:13 +0200 | [diff] [blame] | 13 | function test_bazel_smoke { |
| 14 | setup |
Lukacs T. Berki | 686965b | 2021-04-14 16:40:03 +0200 | [diff] [blame] | 15 | create_mock_bazel |
Lukacs T. Berki | 3b730c4 | 2021-04-08 13:21:13 +0200 | [diff] [blame] | 16 | |
Jingwen Chen | 8c52358 | 2021-06-01 11:19:53 +0000 | [diff] [blame] | 17 | STANDALONE_BAZEL=true run_bazel info |
Lukacs T. Berki | 3b730c4 | 2021-04-08 13:21:13 +0200 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | test_bazel_smoke |