aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-06-23 07:21:44 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-06-23 07:21:44 +0000
commit3eb410ee9314072adc1b40582025db917ab7aba2 (patch)
tree4352cf8e895f8eceb1ddf349292c905378e09baf
parent6ec66de90ef5a0a9159402490a832cb71d2f70db (diff)
parent802050ef2b82dcb510d0c4b395c00885e26f52c1 (diff)
downloadcontrib-busytown-mac-infra-release.tar.gz
Snap for 11992377 from 802050ef2b82dcb510d0c4b395c00885e26f52c1 to busytown-mac-infra-releasebusytown-mac-infra-release
Change-Id: I6b32c440fa58ab615f16eb90680ea7cff0c3a8f3
-rw-r--r--src/com/android/performance/tests/BootTimeTest.java18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/com/android/performance/tests/BootTimeTest.java b/src/com/android/performance/tests/BootTimeTest.java
index ebc0fff..e7c1362 100644
--- a/src/com/android/performance/tests/BootTimeTest.java
+++ b/src/com/android/performance/tests/BootTimeTest.java
@@ -219,17 +219,6 @@ public class BootTimeTest extends InstalledInstrumentationsTest
importance = Importance.IF_UNSET)
private List<File> mTestFileNames = new ArrayList<>();
- @Option(
- name = "alt-dir",
- description =
- "Alternate directory to look for the apk if the apk is not in the tests zip"
- + " file. For each alternate dir, will look in //, //data/app, "
- + "//DATA/app,"
- + " //DATA/app/apk_name/ and //DATA/priv-app/apk_name/. Can be "
- + "repeated."
- + " Look for apks in last alt-dir first.")
- private List<File> mAltDirs = new ArrayList<>();
-
@Option(name = "successive-boot", description = "Calculate the successive boot delay info")
private boolean mSuccessiveBoot = false;
@@ -753,7 +742,12 @@ public class BootTimeTest extends InstalledInstrumentationsTest
}
}
- String perfettoTraceFilePath = processPerfettoFile(testId.replace("$", "_"));
+ String perfettoTraceFilePath =
+ processPerfettoFile(
+ String.format(
+ "%s_%s",
+ successiveBootIterationTestId.getClassName().replace("$", "_"),
+ successiveBootIterationTestId.getTestName()));
if (mBootTimePerIteration) {
Map<String, String> iterationResult = new HashMap<>();