Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6cb0cdb9 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Add script to "shrink" SystemUiRavenTests

SystemUiRavenTests has a lot of kotlin source files, so it's slow to build.
Which is painful when you want to run it after updating ravenwood code
that SystemUiRavenTests depends on. (example: junit-src/)

This script basically removes the test files SystemUI/multivalentTests
that don't have @EnabledOnRavenwood. But if we actaully remove the file,
soong would re-generate the ninja file, which will take a long time,
so instead this script will truncate the files.

This script will also tell git to ignore these files, so they won't shw up
in `git status`.

Flag: EXEMPT host side test change only
Bug: 292141694

Test: Run `atest SystemUiRavenTests` after shrinking it,
      then undo it.
Change-Id: I61447be9353b8bb6d0623853785d418266681125
parent 783fd952
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment