diff options
author | Andreas Gampe <agampe@google.com> | 2014-07-22 18:52:29 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-07-23 10:03:00 -0700 |
commit | 1c83cbc4a817acbd7f9abb5b29a2d418a958e6a1 (patch) | |
tree | aae7ea1d5559718d6e264175aa1cb2ae1fc1e9ed /patchoat | |
parent | 7dfc30b591aee167f0a38ab61a90894cc76f2066 (diff) | |
download | art-1c83cbc4a817acbd7f9abb5b29a2d418a958e6a1.zip art-1c83cbc4a817acbd7f9abb5b29a2d418a958e6a1.tar.gz art-1c83cbc4a817acbd7f9abb5b29a2d418a958e6a1.tar.bz2 |
ART: Make run tests out of oat tests
Transforms all former oat tests into run tests.
Change-Id: I190dd39456454c36e5538a2c044d993965a67533
Diffstat (limited to 'patchoat')
-rw-r--r-- | patchoat/patchoat.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc index 55d582f..4c88c9e 100644 --- a/patchoat/patchoat.cc +++ b/patchoat/patchoat.cc @@ -1024,6 +1024,9 @@ static int patchoat(int argc, char **argv) { } else { CHECK(!input_oat_filename.empty()); input_oat.reset(OS::OpenFileForReading(input_oat_filename.c_str())); + if (input_oat.get() == nullptr) { + LOG(ERROR) << "Could not open input oat file: " << strerror(errno); + } } if (output_oat_fd != -1) { |