[PATCH] Android test runner for ASan lit tests

Evgeniy Stepanov eugeni.stepanov at gmail.com
Thu Feb 6 00:16:38 PST 2014


On second thought, this is too complex and ugly. Please unsee it.


On Wed, Feb 5, 2014 at 4:09 PM, Evgeniy Stepanov <eugenis at google.com> wrote:
> Hi samsonov,
>
> 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 prefix all lit command that must be executed on the target machine with %run and replace that with a wrapper that does all the necessary file system synchronization and delivers stdout/stderr/exitcode back from the device.
>
>
> http://llvm-reviews.chandlerc.com/D2698
>
> Files:
>   lib/lit.common.configured.in
>   lib/asan/lit_tests/CMakeLists.txt
>   lib/asan/lit_tests/android_run.sh
>   lib/asan/lit_tests/64bitConfig/lit.site.cfg.in
>   lib/asan/lit_tests/TestCases/use-after-scope-dtor-order.cc
>   lib/asan/lit_tests/TestCases/deep_tail_call.cc
>   lib/asan/lit_tests/TestCases/use-after-free-right.cc
>   lib/asan/lit_tests/TestCases/partial_right.cc
>   lib/asan/lit_tests/TestCases/deep_thread_stack.cc
>   lib/asan/lit_tests/TestCases/sanity_check_pure_c.c
>   lib/asan/lit_tests/TestCases/printf-3.c
>   lib/asan/lit_tests/TestCases/printf-5.c
>   lib/asan/lit_tests/TestCases/global-overflow.cc
>   lib/asan/lit_tests/TestCases/readv.cc
>   lib/asan/lit_tests/TestCases/initialization-bug.cc
>   lib/asan/lit_tests/TestCases/strncpy-overflow.cc
>   lib/asan/lit_tests/TestCases/invalid-free.cc
>   lib/asan/lit_tests/TestCases/stack-frame-demangle.cc
>   lib/asan/lit_tests/TestCases/start-deactivated.cc
>   lib/asan/lit_tests/TestCases/print_summary.cc
>   lib/asan/lit_tests/TestCases/use-after-free.cc
>   lib/asan/lit_tests/TestCases/time_interceptor.cc
>   lib/asan/lit_tests/TestCases/inline.cc
>   lib/asan/lit_tests/TestCases/null_deref.cc
>   lib/asan/lit_tests/TestCases/asan-symbolize-sanity-test.cc
>   lib/asan/lit_tests/TestCases/deep_stack_uaf.cc
>   lib/asan/lit_tests/TestCases/allow_user_segv.cc
>   lib/asan/lit_tests/TestCases/use-after-poison.cc
>   lib/asan/lit_tests/TestCases/memcmp_strict_test.cc
>   lib/asan/lit_tests/TestCases/unaligned_loads_and_stores.cc
>   lib/asan/lit_tests/TestCases/global-demangle.cc
>   lib/asan/lit_tests/TestCases/ioctl.cc
>   lib/asan/lit_tests/TestCases/stack-use-after-return.cc
>   lib/asan/lit_tests/TestCases/strdup_oob_test.cc
>   lib/asan/lit_tests/TestCases/contiguous_container_crash.cc
>   lib/asan/lit_tests/TestCases/sleep_before_dying.c
>   lib/asan/lit_tests/TestCases/shared-lib-test.cc
>   lib/asan/lit_tests/TestCases/double-free.cc
>   lib/asan/lit_tests/TestCases/stack-oob-frames.cc
>   lib/asan/lit_tests/TestCases/printf-2.c
>   lib/asan/lit_tests/TestCases/printf-4.c
>   lib/asan/lit_tests/TestCases/memcmp_test.cc
>   lib/asan/lit_tests/TestCases/use-after-scope-inlined.cc
>   lib/asan/lit_tests/TestCases/poison_partial.cc
>   lib/asan/lit_tests/TestCases/log_path_fork_test.cc.disabled
>   lib/asan/lit_tests/TestCases/huge_negative_hea_oob.cc
>   lib/asan/lit_tests/TestCases/strip_path_prefix.c
>   lib/asan/lit_tests/TestCases/stack-buffer-overflow-with-position.cc
>   lib/asan/lit_tests/TestCases/allocator_returns_null.cc
>   lib/asan/lit_tests/TestCases/on_error_callback.cc
>   lib/asan/lit_tests/TestCases/use-after-scope.cc
>   lib/asan/lit_tests/TestCases/large_func_test.cc
>   lib/asan/lit_tests/TestCases/wait.cc
>   lib/asan/lit_tests/TestCases/malloc_context_size.cc
>   lib/asan/lit_tests/TestCases/stack-overflow.cc
>   lib/asan/lit_tests/TestCases/init-order-atexit.cc
>   lib/asan/lit_tests/TestCases/log-path_test.cc
>   lib/asan/lit_tests/TestCases/heap-overflow.cc
>   lib/asan/lit_tests/GenericConfig/lit.site.cfg.in
>   lib/asan/lit_tests/lit.cfg
>   lib/asan/lit_tests/32bitConfig/lit.site.cfg.in
>   CMakeLists.txt
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list