This feature is toggled on with USE_PERSISTENT_BAZEL, which is off by default. Those that opt-in will have a bazel server running between builds (with a 3hr default TTL) which will greatly improve analysis on subsequent builds. (As Bazel maintains a cache of analysis results). Bug: 266983462 Test: Manual `m nothing` runs (timing with and without the feature) Test: New integration test Test: Presubmits Change-Id: I3af4948baa0c490e9b87c48ffdbe9f67732586c7
22 lines
882 B
Bash
Executable File
22 lines
882 B
Bash
Executable File
#!/bin/bash -eu
|
|
|
|
set -o pipefail
|
|
|
|
TOP="$(readlink -f "$(dirname "$0")"/../../..)"
|
|
"$TOP/build/soong/tests/androidmk_test.sh"
|
|
"$TOP/build/soong/tests/bootstrap_test.sh"
|
|
"$TOP/build/soong/tests/mixed_mode_test.sh"
|
|
"$TOP/build/soong/tests/bp2build_bazel_test.sh"
|
|
"$TOP/build/soong/tests/persistent_bazel_test.sh"
|
|
"$TOP/build/soong/tests/soong_test.sh"
|
|
"$TOP/build/bazel/ci/rbc_regression_test.sh" aosp_arm64-userdebug
|
|
|
|
# The following tests build against the full source tree and don't rely on the
|
|
# mock client.
|
|
"$TOP/build/soong/tests/apex_comparison_tests.sh"
|
|
"$TOP/build/soong/tests/apex_comparison_tests.sh" "module_arm64only"
|
|
|
|
"$TOP/build/soong/tests/apex_cc_module_arch_variant_tests.sh"
|
|
"$TOP/build/soong/tests/apex_cc_module_arch_variant_tests.sh" "aosp_arm" "armv7-a"
|
|
"$TOP/build/soong/tests/apex_cc_module_arch_variant_tests.sh" "aosp_cf_arm64_phone" "armv8-a" "cortex-a53"
|