From b51a05844c53059696e1fd00dc8da81cf5767341 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Mon, 17 Jul 2023 11:21:32 -0700 Subject: [PATCH] Use rbc_dashboard.py instead of rbc_regression_test.sh rbc_dashboard.py is an alternative implementation of rbc_regression_test.sh. These tests both run soong 2 times with starlark product config enabled/disabled and diff the resulting ninja files. However, the shell script test runs the soong invications in series and the python one runs them in parallel, meaning the python one is faster. On my computer the shell one takes ~7 minutes and the python one takes ~4 minutes. Bug: 291548757 Test: Presubmits Change-Id: I20fd6ca09f47dd0547f2681fbd78ba70991493b0 --- tests/run_integration_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_integration_tests.sh b/tests/run_integration_tests.sh index 43a9f0fed..48f654e1c 100755 --- a/tests/run_integration_tests.sh +++ b/tests/run_integration_tests.sh @@ -10,7 +10,7 @@ TOP="$(readlink -f "$(dirname "$0")"/../../..)" "$TOP/build/soong/tests/persistent_bazel_test.sh" "$TOP/build/soong/tests/soong_test.sh" "$TOP/build/soong/tests/stale_metrics_files_test.sh" -"$TOP/build/bazel/ci/rbc_regression_test.sh" aosp_arm64-userdebug +"$TOP/prebuilts/build-tools/linux-x86/bin/py3-cmd" "$TOP/build/bazel/ci/rbc_dashboard.py" aosp_arm64-userdebug # The following tests build against the full source tree and don't rely on the # mock client.