diff options
author | 2014-10-23 09:39:56 +0000 | |
---|---|---|
committer | 2014-10-23 09:39:56 +0000 | |
commit | 2db1e56ff46fb8caefb229511878a01ad95f3d89 (patch) | |
tree | ed0c1d2bf3e1e766c316f2420a2c81504c227c93 /native/jni/run-tests.sh | |
parent | e71c951c108416edc05255a0782d1cca2962dc28 (diff) | |
parent | ba35bb83a87eff69adeefc08da901a856058e5f0 (diff) | |
download | latinime-2db1e56ff46fb8caefb229511878a01ad95f3d89.tar.gz latinime-2db1e56ff46fb8caefb229511878a01ad95f3d89.tar.xz latinime-2db1e56ff46fb8caefb229511878a01ad95f3d89.zip |
Merge "Stop building host native test in unbundled build"
Diffstat (limited to 'native/jni/run-tests.sh')
-rwxr-xr-x | native/jni/run-tests.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/native/jni/run-tests.sh b/native/jni/run-tests.sh index 3da45270d..a7fa82d9b 100755 --- a/native/jni/run-tests.sh +++ b/native/jni/run-tests.sh @@ -48,6 +48,13 @@ if [[ $show_usage == yes ]]; then if [[ ${BASH_SOURCE[0]} != $0 ]]; then return; else exit 1; fi fi +# Host build is never supported in unbundled (NDK/tapas) build +if [[ $enable_host_test == yes && -n $TARGET_BUILD_APPS ]]; then + echo "Host build is never supported in tapas build." 1>&2 + echo "Use lunch command instead." 1>&2 + if [[ ${BASH_SOURCE[0]} != $0 ]]; then return; else exit 1; fi +fi + target_test_name=liblatinime_target_unittests host_test_name=liblatinime_host_unittests |