OSDN Git Service

android: AMDGPU/GlobalISel: fix tablegen rules (llvm90)
[android-x86/external-llvm.git] / android_test.sh
1 #!/bin/bash
2
3 # Android-specific configuration details are kept in test/lit.site.cfg
4
5 # Set resource limits
6 ulimit -t 600
7 ulimit -d 512000
8 ulimit -m 512000
9 ulimit -s 8192
10
11 if [ -z $ANDROID_BUILD_TOP ]; then
12 # Use this script's location to determine the actual top-level directory.
13 export ANDROID_BUILD_TOP="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../../ && pwd )"
14 fi
15
16 if [ ! -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
18 fi
19
20 python ./utils/lit/lit.py -s -v ./test