[compiler-rt] ed83942 - [ubsan] Enable testing of .m files
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 14:55:38 PST 2019
Author: Vedant Kumar
Date: 2019-12-13T14:55:29-08:00
New Revision: ed83942bc02501c62b55f77cba688263ea35221a
URL: https://github.com/llvm/llvm-project/commit/ed83942bc02501c62b55f77cba688263ea35221a
DIFF: https://github.com/llvm/llvm-project/commit/ed83942bc02501c62b55f77cba688263ea35221a.diff
LOG: [ubsan] Enable testing of .m files
This allows `.m` test files, like the existing Misc/bool.m, to be
tested.
Added:
Modified:
compiler-rt/test/ubsan/lit.common.cfg.py
Removed:
################################################################################
diff --git a/compiler-rt/test/ubsan/lit.common.cfg.py b/compiler-rt/test/ubsan/lit.common.cfg.py
index a5564ebe8df4..aa457a63b191 100644
--- a/compiler-rt/test/ubsan/lit.common.cfg.py
+++ b/compiler-rt/test/ubsan/lit.common.cfg.py
@@ -65,7 +65,7 @@ def build_invocation(compile_flags):
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']:
More information about the llvm-commits
mailing list