summaryrefslogtreecommitdiff
path: root/test/082-inline-execute/src
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2020-07-09 10:58:12 +0100
committer Vladimir Marko <vmarko@google.com> 2020-07-09 10:58:12 +0100
commitbe7fe3b5466e10c4c49f027f10a801e1a4a9216c (patch)
treee8946fd568d6ce71114e0d3d75c6b329437dea4c /test/082-inline-execute/src
parentdc787f488ce151478af1149c04a10b21b2b9fc6e (diff)
Add some x86/x86-64 assembler tests.
Also add divq() and divl() to x86-64 assembler and clean up a test. This is a follow-up to https://android-review.googlesource.com/1355865 . Test: m test-art-host-gtest Test: testrunner.py --host --optimizing -t 082-inline-execute Bug: 156736938 Change-Id: Iade33a2250cea481249f6b976bc53c86663cb901
Diffstat (limited to 'test/082-inline-execute/src')
-rw-r--r--test/082-inline-execute/src/Main.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/082-inline-execute/src/Main.java b/test/082-inline-execute/src/Main.java
index 81afee1caf..338a3ddf00 100644
--- a/test/082-inline-execute/src/Main.java
+++ b/test/082-inline-execute/src/Main.java
@@ -1396,10 +1396,9 @@ public class Main {
try {
Integer.divideUnsigned(1, 0);
- } catch (ArithmeticException e) {
- return;
+ Assert.fail("Unreachable");
+ } catch (ArithmeticException expected) {
}
- Assert.fail("Unreachable");
}
public static void test_Integer_numberOfLeadingZeros() {