Merge "Update jarhostTest to match HostTest run() method"
diff --git a/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/CtsConfigLoadingTest.java b/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/CtsConfigLoadingTest.java
index ecb4a5f..e2b3c7f 100644
--- a/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/CtsConfigLoadingTest.java
+++ b/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/CtsConfigLoadingTest.java
@@ -235,8 +235,10 @@
                 // Check that all the tests runners are well supported.
                 if (!SUPPORTED_CTS_TEST_TYPE.contains(test.getClass().getCanonicalName())) {
                     throw new ConfigurationException(
-                            String.format("testtype %s is not officially supported by CTS.",
-                                    test.getClass().getCanonicalName()));
+                            String.format(
+                                    "testtype %s is not officially supported by CTS. "
+                                            + "The supported ones are: %s",
+                                    test.getClass().getCanonicalName(), SUPPORTED_CTS_TEST_TYPE));
                 }
                 if (test instanceof HostTest) {
                     HostTest hostTest = (HostTest) test;