summaryrefslogtreecommitdiff
path: root/test/builtins/Unit/multi3_test.c
diff options
context:
space:
mode:
authorWeiming Zhao <weimingz@codeaurora.org>2017-03-21 05:32:51 +0000
committerWeiming Zhao <weimingz@codeaurora.org>2017-03-21 05:32:51 +0000
commit43d584fba6ecb04daa4851e8529a90c8b79fc538 (patch)
tree5e81ed7ac9be6e4a3df00ee026656aa72a2e0af4 /test/builtins/Unit/multi3_test.c
parent2435d1fad8853b2beea8b8eae0fa6c52feda56c3 (diff)
downloadcompiler-rt-43d584fba6ecb04daa4851e8529a90c8b79fc538.tar.gz
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@298339 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/builtins/Unit/multi3_test.c')
-rw-r--r--test/builtins/Unit/multi3_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/builtins/Unit/multi3_test.c b/test/builtins/Unit/multi3_test.c
index 04b1b8aa8..8227f2426 100644
--- a/test/builtins/Unit/multi3_test.c
+++ b/test/builtins/Unit/multi3_test.c
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- multi3_test.c - Test __multi3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure