commit | 103cdf947ad1f5944bb63030d7c79c3d3ba4956a | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Wed Aug 28 20:48:31 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Wed Aug 28 20:48:31 2019 -0700 |
tree | 21892a22a4d4fc3c0e695e4d63a559029d1806ff | |
parent | 1eb7ee56566fd842ad96ae5cc48a5a4fbb6b7ab7 [diff] | |
parent | af57adebabc223cabd27a352df563a318d2cd7d6 [diff] |
Merge "CTS: Check install status" am: a2f94e0ab5 am: d4546eeec8 am: 0bf98f515a am: 7a878fe0d5 am: af57adebab Change-Id: I84b313087e5b58d258e67ec70348bf689c482e63
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.