Cleanup R8RunExamplesTest.
1. Remove the processedFileIsSmaller part of the test. It is no longer
useful and we are tracking size elsewhere.
2. Compare against JVM output as well as Art output on the original dex
file.
R=mikaelpeltier@google.com, zerny@google.com
Change-Id: Ib8ebc91597be2fcc2ff7d538bfb394a9a7d9f675
diff --git a/src/test/examples/filledarray/FilledArray.java b/src/test/examples/filledarray/FilledArray.java
index 04a8f83..46c437c 100644
--- a/src/test/examples/filledarray/FilledArray.java
+++ b/src/test/examples/filledarray/FilledArray.java
@@ -106,7 +106,7 @@
System.out.println("ints = " + Arrays.toString(ints));
System.out.println("ints2 = " + Arrays.toString(ints2));
} catch (Throwable t) {
- t.printStackTrace(System.out);
+ System.out.println("Exception: " + t.getClass().toString());
}
try {
@@ -122,7 +122,7 @@
System.out.println("i = " + i);
System.out.println("ints = " + Arrays.toString(ints));
} catch (Throwable t) {
- t.printStackTrace(System.out);
+ System.out.println("Exception: " + t.getClass().toString());
}
}