commit | d4546eeec8ad48a117cdeffed97201a12f38584d | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Wed Aug 28 15:18:14 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Wed Aug 28 15:18:14 2019 -0700 |
tree | 0f307a65cfbcc713dd426a87fac6164fb3fb3e58 | |
parent | 7aee1523b6c0dc0e27a6879575b43c980dd3a7ab [diff] | |
parent | a2f94e0ab52c56e68eaa76f0a9dbc49af2cbf07c [diff] |
Merge "CTS: Check install status" am: a2f94e0ab5 Change-Id: Iafaf97b9356296787d44f3b4c0b9a65c749a23d0
diff --git a/hostsidetests/compilation/src/android/compilation/cts/AdbRootDependentCompilationTest.java b/hostsidetests/compilation/src/android/compilation/cts/AdbRootDependentCompilationTest.java index d371a08..a28c7b4 100644 --- a/hostsidetests/compilation/src/android/compilation/cts/AdbRootDependentCompilationTest.java +++ b/hostsidetests/compilation/src/android/compilation/cts/AdbRootDependentCompilationTest.java
@@ -98,7 +98,8 @@ ByteStreams.copy(inputStream, outputStream); } mDevice.uninstallPackage(APPLICATION_PACKAGE); // in case it's still installed - mDevice.installPackage(apkFile, false); + String error = mDevice.installPackage(apkFile, false); + assertNull("Got install error: " + error, error); // Write the text profile to a temporary file so that we can run profman on it to create a // real profile.