summaryrefslogtreecommitdiff
path: root/tests/mixed_mode_test.sh
blob: 80774bf0f57a4395492c7fdeac37fd64ae107701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash -eu

set -o pipefail

# 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
  create_mock_bazel

  run_bazel info
}

test_bazel_smoke