summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff Chen <yuzhechen@google.com> 2024-03-12 20:34:23 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-03-12 20:34:23 +0000
commitef10f0dc6d00af72c8455a2f767494324b58b42f (patch)
tree180b87d3df6056d0c27a11fe04e9cde6d7378beb
parent5024b7a0f415c1fdd0d7b25a83645814a7d34e9b (diff)
parente92dc7bc800c8bb22f59c9650532830c1c4deeb2 (diff)
Merge "Add instructions for running MemoryTrackingTestCase with atest." into main
-rw-r--r--packages/SystemUI/tests/utils/src/com/android/systemui/MemoryTrackingTestCase.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/tests/utils/src/com/android/systemui/MemoryTrackingTestCase.java b/packages/SystemUI/tests/utils/src/com/android/systemui/MemoryTrackingTestCase.java
index 342855357fd2..80016046e9cf 100644
--- a/packages/SystemUI/tests/utils/src/com/android/systemui/MemoryTrackingTestCase.java
+++ b/packages/SystemUI/tests/utils/src/com/android/systemui/MemoryTrackingTestCase.java
@@ -30,6 +30,7 @@ import java.io.IOException;
*
* To use:
* - locally edit your test class to inherit from MemoryTrackingTestCase instead of SysuiTestCase
+ * - Use `atest -d` to prevent files being cleaned up
* - Watch the logcat with tag MEMORY to see the path to the .ahprof file
* - adb pull /path/to/something.ahprof
* - Download ahat from https://sites.google.com/corp/google.com/ahat/home