Home | History | Annotate | Download | only in tests

Lines Matching refs:NDK

17 #  This shell script is used to run all NDK build tests in a row.
18 # "Build tests" are tests that check the building features of the NDK
22 # You need to define the NDK
31 . $ROOTDIR/build/core/ndk-common.sh
72 --ndk=*)
123 echo "Run NDK automated tests. Without any parameter, this will try to"
132 echo " --ndk=<path> Path to NDK to test [$ROOTDIR]"
133 echo " --package=<path> Path to NDK package to test"
145 echo "NOTE: You cannot use --ndk and --package at the same time."
243 TEST_DIR="/tmp/ndk-$USER/tests"
249 dump "ERROR: You can't use --ndk and --package at the same time!"
252 NDK_ROOT=/tmp/ndk-tests/install
254 dump "Unpacking NDK package to $NDK_ROOT"
260 # Check the NDK install path.
264 dump "ERROR: Your --ndk option does not point to a directory: $NDK_ROOT"
268 if [ ! -f "$NDK_ROOT/ndk-build" -o ! -f "$NDK_ROOT/build/core/ndk-common.sh" ] ; then
269 dump "ERROR: Your --ndk option does not point to a valid NDK install: $NDK_ROOT"
270 dump "Please use a valid NDK install path for this option."
273 NDK="$NDK_ROOT"
275 NDK="$ROOTDIR"
392 run wine cmd /c Z:$NDK/ndk-build.cmd -j$JOBS "$@"
394 run $NDK/ndk-build -j$JOBS "$@"
427 if [ -f "$NDK/RELEASE.TXT" ] ; then
428 # This is a release package, all samples should be under $NDK/samples
429 SAMPLES_DIRS="$NDK/samples"
432 dump "Your NDK release installation is broken!"
435 log "Using release NDK samples from: $SAMPLES_DIRS"
438 # directly from development/ndk.
439 DEVNDK_DIR=`dirname $NDK`/development/ndk
441 dump "ERROR: Could not find development NDK directory: $DEVNDK_DIR"
449 dump "Using development NDK samples from $DEVNDK_DIR"
460 echo "Building NDK sample: `basename $1`"
480 echo "Building NDK build test: `basename $1`"
482 export NDK
514 echo "Building NDK device test: `basename $1` in $1"
521 local DSTDIR="$2/ndk-tests"
529 dump "Skipping NDK device test run: `basename $1`"
534 dump "Skipping NDK device test run (no $ABI binaries): `basename $1`"