diff options
author | 2024-11-22 00:09:47 +0000 | |
---|---|---|
committer | 2024-12-07 02:46:51 +0000 | |
commit | 26c0d8a4e7fed6dbb8f67b4970c43282b31ae62f (patch) | |
tree | 4039452f48496dfe2aac2509695e3ac16739d231 /ci/build_test_suites_test.py | |
parent | 62035d9c960049e188f1d593180f25e0bb8c9d8e (diff) |
Enable real test discovery in build_test_suites
Enable test discovery to actually affect build targets in build_test_suites.py (only when the flags are enabled. On failure of test discovery or if the flags are off instead fall back to the previous optimizations.
Change-Id: I6937dd0c5096884095d0770bc53b6399233cefc2
Test: atest build_test_suites_test
Bug: 378926009
Diffstat (limited to 'ci/build_test_suites_test.py')
-rw-r--r-- | ci/build_test_suites_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/build_test_suites_test.py b/ci/build_test_suites_test.py index 503a5f46a3..29d268e994 100644 --- a/ci/build_test_suites_test.py +++ b/ci/build_test_suites_test.py @@ -120,6 +120,9 @@ class BuildTestSuitesTest(fake_filesystem_unittest.TestCase): self.soong_ui_dir = self.fake_top.joinpath('build/soong') self.soong_ui_dir.mkdir(parents=True, exist_ok=True) + self.logs_dir = self.fake_top.joinpath('dist/logs') + self.logs_dir.mkdir(parents=True, exist_ok=True) + self.soong_ui = self.soong_ui_dir.joinpath('soong_ui.bash') self.soong_ui.touch() |