This commit backports commit6be6c58206
to aosp/master. Bug: 72376227 Test: build only Merged-In: I332077a67cc9f9c83b298e25feea71463e1ee98b Change-Id: I332077a67cc9f9c83b298e25feea71463e1ee98b (cherry picked from commit6be6c58206
)
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.