summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2019-11-27 11:33:18 +0000
committer Vladimir Marko <vmarko@google.com> 2019-11-27 11:35:28 +0000
commita2c4d61e482a15974e3e220bcd62a64043ee536f (patch)
treeab630ea6c4aa6d8dd9b585724873d89aca769d51
parent7dac864d7eae3d731eeacf55cfc7f71b4df6cee3 (diff)
Allow test 178 to pass for --no-image.
Just avoid checking that the app image is loaded. Test: testrunner.py --host --no-image -t 178 Bug: 112189621 Change-Id: Ic7315ba273306e78316da466ce5af4a31af1dbec
-rw-r--r--test/178-app-image-native-method/src/Main.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/178-app-image-native-method/src/Main.java b/test/178-app-image-native-method/src/Main.java
index d63d11273b..0a82abbfd3 100644
--- a/test/178-app-image-native-method/src/Main.java
+++ b/test/178-app-image-native-method/src/Main.java
@@ -22,9 +22,6 @@ public class Main {
public static void main(String[] args) throws Exception {
System.loadLibrary(args[0]);
- if (!checkAppImageLoaded()) {
- System.out.println("AppImage not loaded.");
- }
// To avoid going through resolution trampoline, make test classes visibly initialized.
new Test();
new TestFast();
@@ -157,7 +154,6 @@ public class Main {
}
}
- public static native boolean checkAppImageLoaded();
public static native void makeVisiblyInitialized();
}