Skip to content

Commit ed83942

Browse files
committed
[ubsan] Enable testing of .m files
This allows `.m` test files, like the existing Misc/bool.m, to be tested.
1 parent 3a6da11 commit ed83942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/ubsan/lit.common.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def build_invocation(compile_flags):
6565
config.substitutions.append( ("%gmlt ", " ".join(config.debug_info_flags) + " ") )
6666

6767
# Default test suffixes.
68-
config.suffixes = ['.c', '.cpp']
68+
config.suffixes = ['.c', '.cpp', '.m']
6969

7070
# Check that the host supports UndefinedBehaviorSanitizer tests
7171
if config.host_os not in ['Linux', 'Darwin', 'FreeBSD', 'Windows', 'NetBSD', 'SunOS', 'OpenBSD']:

0 commit comments

Comments
 (0)