1#!/bin/bash
2
3# Android-specific configuration details are kept in test/lit.site.cfg
4
5# Set resource limits
6ulimit -t 600
7ulimit -d 512000
8ulimit -m 512000
9ulimit -s 8192
10
11if [ -z $ANDROID_BUILD_TOP ]; then
12# Use this script's location to determine the actual top-level directory.
13export ANDROID_BUILD_TOP="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../../ && pwd )"
14fi
15
16if [ ! -d $ANDROID_BUILD_TOP/out/test/host/linux-x86/obj/test_llvm ]; then
17  mkdir -p $ANDROID_BUILD_TOP/out/test/host/linux-x86/obj/test_llvm
18fi
19
20python ./utils/lit/lit.py -s -v ./test
21