diff options
author | Andreas Gampe <agampe@google.com> | 2015-02-24 08:06:34 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-02-24 08:06:34 -0800 |
commit | ee027c0864cf9d062cc5739e20218bb5951a801d (patch) | |
tree | 2ad677bf2867e9f6f95960cd907249669ff75d03 /test/118-noimage-dex2oat | |
parent | 4fa1a274024067e160a60d0a77124e95dca980e1 (diff) | |
download | art-ee027c0864cf9d062cc5739e20218bb5951a801d.zip art-ee027c0864cf9d062cc5739e20218bb5951a801d.tar.gz art-ee027c0864cf9d062cc5739e20218bb5951a801d.tar.bz2 |
ART: Fix run-test 118
Need to strip error logging for no-prebuild config.
Change-Id: I870bbbf3b6c7e92996e40e45b1bfa58c7e80f709
Diffstat (limited to 'test/118-noimage-dex2oat')
-rwxr-xr-x | test/118-noimage-dex2oat/check | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/118-noimage-dex2oat/check b/test/118-noimage-dex2oat/check new file mode 100755 index 0000000..57111bc --- /dev/null +++ b/test/118-noimage-dex2oat/check @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Copyright (C) 2014 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Strip the process pids and line numbers from exact error messages. +sed -e '/^art E.*\] /d' "$2" > "$2.tmp" + +diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null |