[moblab] Add in the CTS_P suite to the UI.
Add an extra option that mirrors CTS_N for CTS_P
TEST=tested on moblab
BUG=chromium:866544
Change-Id: I769b9d95e5c92726c2cce0dba7e5e0599144be60
Reviewed-on: https://chromium-review.googlesource.com/1147248
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1151948
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Trybot-Ready: Keith Haddow <haddowk@chromium.org>
diff --git a/frontend/client/src/autotest/moblab/SuiteRunnerView.java b/frontend/client/src/autotest/moblab/SuiteRunnerView.java
index e2178bc..89d99b1 100644
--- a/frontend/client/src/autotest/moblab/SuiteRunnerView.java
+++ b/frontend/client/src/autotest/moblab/SuiteRunnerView.java
@@ -54,11 +54,22 @@
private HashMap<String, String> modelBoardMap;
- private static List<String> suiteNames = Arrays.asList("bvt-cq",
- "bvt-inline", "cts_N", "gts", "hardware_storagequal",
- "hardware_memoryqual", "usb-camera","power_measurement_wrapper",
- "power_loadtest_fast", "power_loadtest_1hour", "power_loadtest",
- "power_idle", "moblab_setup");
+ private static List<String> suiteNames = Arrays.asList(
+ "bvt-cq",
+ "bvt-inline",
+ "cts_N",
+ "cts_P",
+ "gts",
+ "hardware_memoryqual",
+ "hardware_storagequal",
+ "moblab_setup",
+ "power_idle",
+ "power_loadtest",
+ "power_loadtest_1hour",
+ "power_loadtest_fast",
+ "power_measurement_wrapper",
+ "usb-camera"
+ );
private static String TEST_LIST_PLACEHOLDER = "arm.CtsAnimationTestCases, x86.CtsDeqpTestCases";
@@ -261,7 +272,8 @@
}
if (listIndex == suiteNames.indexOf("gts") ||
- listIndex == suiteNames.indexOf("cts_N")) {
+ listIndex == suiteNames.indexOf("cts_N") ||
+ listIndex == suiteNames.indexOf("cts_P")) {
thirdOptionalLine.setVisible(true);
fourthOptionalLine.setVisible(false);
fifthOptionalLine.setVisible(false);