Running AppMemoryTestCases
This guide provides instructions on how to run AppMemoryTestCases on a local device and in the Forrest/ABTD environment.
Running on a Local Device
Follow these steps to run the tests on a physical device connected to your cloudtop.
-
Install the superproject (see go/repo-init) on your cloudtop.
-
Set up and flash your test device.
-
Link the device to your cloudtop using pontis.
-
Source the build environment and select the target:
source build/envsetup.sh
lunch panther-trunk_staging-userdebug
- Navigate to the test directory:
cd frameworks/base/tests/AppMemoryTest/
- Execute the test suite:
atest AppMemoryTestCases
- Find the test artifacts in the output directory specified in the logs. For example:
/tmp/atest_result_yourusernamehere/20250903_180921_clbph7a3/log/invocation_946579573326099876/inv_13336902944655844617/AppMemoryTestCases
Running on Forrest/ABTD
Follow these steps to execute the tests using the Forrest/ABTD web interface.
-
Click Create a run.
-
Click Run tests.
-
Select LGKB as the test runner.
-
Select the branch git_main.
-
Input
AppMemoryTestCasesas the atest module. -
Check the Advanced settings checkbox.
-
Set the product to a physical device, e.g., raven.
-
Click Run to start the test.