commit | fe48b9842401f77e361b1c5a5fdc21020aaba362 | [log] [tgz] |
---|---|---|
author | Julien Desprez <jdesprez@google.com> | Thu Dec 05 18:35:39 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Dec 05 18:35:39 2019 +0000 |
tree | e30488ba94a7d5b973d93b38379c1dc0de9a8e90 | |
parent | d285f550037a0ac78b256f9a5d3b954a53bfc531 [diff] | |
parent | 3b065f60bd398afe06ebde4f4f0e38f8aec05869 [diff] |
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;