[PATCH] D30802: [Builtin] Implement lit-test support

Weiming Zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 18:27:18 PST 2017


weimingz added a comment.

I tested it on ARM via QEMU with the CMAKE parames below:

  cmake -G Ninja  ... -DCOMPILER_RT_DEFAULT_TARGET_ARCH=arm  -DCOMPILER_RT_EMULATOR=<path_to_qemu> -DCOMPILER_RT_TEST_COMPILER=<install_prefix>/bin/clang -DCOMPILER_RT_INCLUDE_TESTS=ON 

> ninja check-builtins

[1/1] Running the Builtins tests
Testing Time: 11.31s

  Expected Passes    : 358
  Unsupported Tests  : 24

It runs for both arm and armv6m. Unsupported tests are from ppc/ and gcc_personality_test (not sure how to run),  clear_cache_test, enable_exec_stack_test (looks not supported by qemu), and bswap (not supported by armv6m ) and cpu_model_test (x86 only)


https://reviews.llvm.org/D30802





More information about the llvm-commits mailing list