Improving memory dump diag

atest deletes artifacts directory on the device, but saves artifacts at the host machine.

Bug: 187761685
Test: presubmit
Change-Id: I1f5244ebfe6b606c4891f5fca003541b27cc944c
This commit is contained in:
vadimt
2021-12-09 13:55:22 -08:00
committed by Vadim Tryshev
parent 5b2bbe7e20
commit bc1da4ca98

View File

@@ -149,7 +149,7 @@ public abstract class AbstractLauncherUiTest {
}
sDumpWasGenerated = true;
Log.d("b/195319692", "sDumpWasGenerated := true", new Exception());
result = "memory dump filename: " + fileName;
result = "saved memory dump as an artifact";
} catch (Throwable e) {
Log.e(TAG, "dumpHprofData failed", e);
result = "failed to save memory dump";