diff options
author | Greg Fitzgerald <gregf@codeaurora.org> | 2014-04-30 21:32:30 +0000 |
---|---|---|
committer | Greg Fitzgerald <gregf@codeaurora.org> | 2014-04-30 21:32:30 +0000 |
commit | 16bae2463f98c0e3988b3bd94fce5012ae6a68ba (patch) | |
tree | 9d37d5fcd1e7131a14f52a48e999d89d216a8778 /test/ubsan | |
parent | cbb872db8f91cb20723f09f6fed8099d9f00a0d8 (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/ubsan')
-rw-r--r-- | test/ubsan/lit.common.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ubsan/lit.common.cfg b/test/ubsan/lit.common.cfg index 1e32653fe..61eec0341 100644 --- a/test/ubsan/lit.common.cfg +++ b/test/ubsan/lit.common.cfg @@ -4,7 +4,7 @@ import os def get_required_attr(config, attr_name): attr_value = getattr(config, attr_name, None) - if not attr_value: + if attr_value == None: lit_config.fatal( "No attribute %r in test configuration! You may need to run " "tests from your build directory or add this attribute " |