diff options
author | Weiming Zhao <weimingz@codeaurora.org> | 2017-03-21 05:32:51 +0000 |
---|---|---|
committer | Weiming Zhao <weimingz@codeaurora.org> | 2017-03-21 05:32:51 +0000 |
commit | 9b7bbeca48b10a0eb81708650777703ce41e67d7 (patch) | |
tree | 0c4a6755684b338da80dfc191c6e084d758e0970 /compiler-rt/test/builtins/Unit/clzti2_test.c | |
parent | 2eb3227f97e9ed5d086a9cc80f9ed590e8a1ff93 (diff) | |
download | bcm5719-llvm-9b7bbeca48b10a0eb81708650777703ce41e67d7.tar.gz bcm5719-llvm-9b7bbeca48b10a0eb81708650777703ce41e67d7.zip |
[Builtin] Implement lit-test support (part 1 of 2: test cases update)
Original r297566 is splitted into two parts.
This is part one, which adds "RUN" command for test cases.
Unit/arm/call_apsr.S is updated to support thumb1.
It also fixes a bug in arm/aeabi_uldivmod_test.c
gcc_personality_test is XFAILED as the framework cannot handle it so far.
cpu_model_test is also XFAILED for now as it is expected to return non-zero.
TODO: A few tests are XFAILed for armhf and aarch64.
We need further investigating. [1,2] Tracks the issue.
[1] https://bugs.llvm.org//show_bug.cgi?id=32260
[2] https://bugs.llvm.org//show_bug.cgi?id=32261
Reviewers: rengolin, compnerd, jroelofs, erik.pilkington, arphaman
Reviewed By: jroelofs
Subscribers: jroelofs, aemerson, srhines, nemanjai, llvm-commits, mgorny
Differential Revision: https://reviews.llvm.org/D30802
llvm-svn: 298339
Diffstat (limited to 'compiler-rt/test/builtins/Unit/clzti2_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/clzti2_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/test/builtins/Unit/clzti2_test.c b/compiler-rt/test/builtins/Unit/clzti2_test.c index 3a2c6fabb82..157838b6bdd 100644 --- a/compiler-rt/test/builtins/Unit/clzti2_test.c +++ b/compiler-rt/test/builtins/Unit/clzti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- clzti2_test.c - Test __clzti2 -------------------------------------===// // // The LLVM Compiler Infrastructure |