projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a6da11
)
[ubsan] Enable testing of .m files
author
Vedant Kumar
<vsk@apple.com>
Fri, 13 Dec 2019 20:57:37 +0000
(12:57 -0800)
committer
Vedant Kumar
<vsk@apple.com>
Fri, 13 Dec 2019 22:55:29 +0000
(14:55 -0800)
This allows `.m` test files, like the existing Misc/bool.m, to be
tested.
compiler-rt/test/ubsan/lit.common.cfg.py
patch
|
blob
|
history
diff --git
a/compiler-rt/test/ubsan/lit.common.cfg.py
b/compiler-rt/test/ubsan/lit.common.cfg.py
index
a5564eb
..
aa457a6
100644
(file)
--- a/
compiler-rt/test/ubsan/lit.common.cfg.py
+++ b/
compiler-rt/test/ubsan/lit.common.cfg.py
@@
-65,7
+65,7
@@
config.substitutions.append( ("%clangxx ", build_invocation(clang_ubsan_cxxflags
config.substitutions.append( ("%gmlt ", " ".join(config.debug_info_flags) + " ") )
# Default test suffixes.
-config.suffixes = ['.c', '.cpp']
+config.suffixes = ['.c', '.cpp'
, '.m'
]
# Check that the host supports UndefinedBehaviorSanitizer tests
if config.host_os not in ['Linux', 'Darwin', 'FreeBSD', 'Windows', 'NetBSD', 'SunOS', 'OpenBSD']: