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

Commit b58f28e5 authored by John Wu's avatar John Wu
Browse files

Allow using a text file to toggle Ravenwood tests

In addition to using annotations to explicitly disable/enable test
classes and methods, introduce a new mechanism to toggle tests.
A policy text file can be provided through the environment variable
RAVENWOOD_TEST_ENABLEMENT_POLICY, and the Ravenwood runtime internally
reads from it and enable/disable tests accordingly.

The benefit for enabling/disabling tests through this mechanism is to
allow us to quickly iterate massive test modules like SysUi tests
without the need to rebuild the entire module.

Bug: 292141694
Flag: EXEMPT host side change only
Test: atest RavenwoodCoreTest
Change-Id: Ia5002aa7545c65ed139b63ebe4a8997b1e736f37
parent 89fccca8
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