OSDN Git Service

Fix failure in --no-dex2oat invocation of 425-invokesuper.
authorNicolas Geoffray <ngeoffray@google.com>
Thu, 13 Nov 2014 15:15:39 +0000 (15:15 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 17 Nov 2014 09:13:29 +0000 (09:13 +0000)
commit1ed097d4bc3fad0bf0d27172213ce1928b1f054e
tree87f5bc856ef95e84c106641e71708351b278c2f1
parent172808c14506f4b46ebf0765e066306b7301760f
Fix failure in --no-dex2oat invocation of 425-invokesuper.

We had two issues:
- dexmerger is broken and sometimes produces invalid dex files,
  thus the test was always failing. b/18051191.
- The reason only no-dex2oat caught it is because it doesn't prebuild,
  and our scripts just do not report an error when the prebuild failed.

I also gave up trying to emit the dex2oat error output in the console.
I clearly don't speak bash.

Change-Id: I34c40902855452ea0f3e0d4733e4149c87236cfe
test/425-invoke-super/expected.txt
test/425-invoke-super/src/Main.java
test/run-test