[asan] Android test runner for ASan lit tests.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 14 Feb 2014 09:22:10 +0000 (09:22 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 14 Feb 2014 09:22:10 +0000 (09:22 +0000)
commitaa9d74cc5db8c2a16c2cd39bfb7e501ca1bb7c72
treeed911acfaaa41dccf24673ad23b0bc93dd68197a
parenta6b264b51d4fa786d9df659621fc1ffad1fdc5d0
[asan] Android test runner for ASan lit tests.

This change replaces 32- and 64- bit config.in-s with a single config template
that is used to generate both 32 and 64 bits configs as well as the new
arm-android config. Arm-android config is special because it can run tests on
a remote device over adb (android debug bridge).

We replace %clang with a script that run the compiler, upload the result to
the device, and replaces it with another script. The second script runs the
binary on the device and delivers stdout/stderr/exitcode back.

llvm-svn: 201394
compiler-rt/CMakeLists.txt
compiler-rt/lib/asan/lit_tests/64bitConfig/lit.site.cfg.in [deleted file]
compiler-rt/lib/asan/lit_tests/CMakeLists.txt
compiler-rt/lib/asan/lit_tests/GenericConfig/lit.site.cfg.in [moved from compiler-rt/lib/asan/lit_tests/32bitConfig/lit.site.cfg.in with 60% similarity]
compiler-rt/lib/asan/lit_tests/android_commands/android_common.py [new file with mode: 0644]
compiler-rt/lib/asan/lit_tests/android_commands/android_compile.py [new file with mode: 0755]
compiler-rt/lib/asan/lit_tests/android_commands/android_run.py [new file with mode: 0755]
compiler-rt/lib/asan/lit_tests/lit.cfg
compiler-rt/lib/lit.common.configured.in