summaryrefslogtreecommitdiff
path: root/test/builtins/Unit/divmodsi4_test.c
diff options
context:
space:
mode:
authorWeiming Zhao <weimingz@codeaurora.org>2017-03-11 19:40:24 +0000
committerWeiming Zhao <weimingz@codeaurora.org>2017-03-11 19:40:24 +0000
commit5acb49fe6ad9d0a3e9eb0ae52c6fb67443d817c0 (patch)
treeae703ae9615546cf5639660430765a9dfef770c4 /test/builtins/Unit/divmodsi4_test.c
parentac5f53a2fb91850b607a6b663cb1845105b23ab8 (diff)
downloadcompiler-rt-5acb49fe6ad9d0a3e9eb0ae52c6fb67443d817c0.tar.gz
[Builtin] Implement lit-test support
Summary: This patch implements a initial support of lit test for builtins. 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. 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@297566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/builtins/Unit/divmodsi4_test.c')
-rw-r--r--test/builtins/Unit/divmodsi4_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/builtins/Unit/divmodsi4_test.c b/test/builtins/Unit/divmodsi4_test.c
index 6fb1c985a..e766aaee1 100644
--- a/test/builtins/Unit/divmodsi4_test.c
+++ b/test/builtins/Unit/divmodsi4_test.c
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divmodsi4_test.c - Test __divmodsi4 -------------------------------===//
//
// The LLVM Compiler Infrastructure