blob: 6faeb0dbf9d3b62bd4247db1bd027e3a9ddfc6a9 [file] [log] [blame]
Richard Uhler5715e962016-10-26 16:33:31 +01001#!/bin/bash
2#
3# Copyright (C) 2016 The Android Open Source Project
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
Nicolas Geoffray233572b2020-01-23 13:52:37 +000017# Filter out expected error messages, which happen on device.
18export ANDROID_LOG_TAGS='*:f'
19
Richard Uhler5715e962016-10-26 16:33:31 +010020flags="$@"
21
22# Reduce the file descriptor limit so the test will reach the limit sooner.
23ulimit -n 512
Nicolas Geoffray233572b2020-01-23 13:52:37 +000024${RUN} --external-log-tags ${flags}