forked from OSchip/llvm-project
[ubsan] Enable testing of .m files
This allows `.m` test files, like the existing Misc/bool.m, to be tested.
This commit is contained in:
parent
3a6da1122b
commit
ed83942bc0
|
|
@ -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']:
|
||||
|
|
|
|||
Loading…
Reference in New Issue