summaryrefslogtreecommitdiff
path: root/test/lit.common.configured.in
diff options
context:
space:
mode:
authorGreg Fitzgerald <gregf@codeaurora.org>2014-04-30 21:32:30 +0000
committerGreg Fitzgerald <gregf@codeaurora.org>2014-04-30 21:32:30 +0000
commit16bae2463f98c0e3988b3bd94fce5012ae6a68ba (patch)
tree9d37d5fcd1e7131a14f52a48e999d89d216a8778 /test/lit.common.configured.in
parentcbb872db8f91cb20723f09f6fed8099d9f00a0d8 (diff)
Allow any test to be executed via a %run command.
Configure %run with COMPILER_RT_EMULATOR: $ cmake -DCOMPILER_RT_EMULATOR="qemu-arm -L $SYSROOT" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.common.configured.in')
-rw-r--r--test/lit.common.configured.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lit.common.configured.in b/test/lit.common.configured.in
index 7a9dd29b2..10eb7b5e1 100644
--- a/test/lit.common.configured.in
+++ b/test/lit.common.configured.in
@@ -8,6 +8,7 @@ def set_default(attr, value):
# Generic config options for all compiler-rt lit tests.
set_default("target_triple", "@TARGET_TRIPLE@")
+set_default("target_cflags", "@COMPILER_RT_TEST_COMPILER_FLAGS@")
set_default("host_arch", "@HOST_ARCH@")
set_default("target_arch", "@HOST_ARCH@")
set_default("host_os", "@HOST_OS@")
@@ -22,6 +23,7 @@ set_default("compiler_rt_arch", "@COMPILER_RT_SUPPORTED_ARCH@")
set_default("python_executable", "@PYTHON_EXECUTABLE@")
set_default("compiler_rt_debug", @COMPILER_RT_DEBUG_PYBOOL@)
set_default("compiler_rt_libdir", "@COMPILER_RT_LIBRARY_OUTPUT_DIR@")
+set_default("emulator", "@COMPILER_RT_EMULATOR@")
# LLVM tools dir can be passed in lit parameters, so try to
# apply substitution.