Skip to content

Commit 9998ec1

Browse files
authored
Enable .ll test suffix for LLVM tests (microsoft#5887)
This enables `.ll` as a default test suffix in the LLVM tests. To preserve the low number of unsupported tests, this changes the way we disable tests from using config.unsupported to setting the suffixes to empty.
1 parent adb2dc7 commit 9998ec1

File tree

38 files changed

+38
-38
lines changed

38 files changed

+38
-38
lines changed

test/Analysis/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config.unsupported = True # HLSL Change - Disable lit suites.
1+
config.suffixes = [] # HLSL Change - Disable lit suites.
22

33
# Failing Tests (26):
44
# LLVM :: Analysis/BasicAA/2008-04-15-Byval.ll

test/Assembler/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config.unsupported = True # HLSL Change - Disable lit suites.
1+
config.suffixes = [] # HLSL Change - Disable lit suites.
22

33
# Failing Tests (5):
44
# LLVM :: Assembler/2007-09-29-GC.ll

test/CodeGen/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
config.unsupported = True # HLSL Change - Disable lit suites.
1+
config.suffixes = [] # HLSL Change - Disable lit suites.

test/Feature/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config.unsupported = True # HLSL Change - Disable lit suites.
1+
config.suffixes = [] # HLSL Change - Disable lit suites.
22

33
# Failing Tests (6):
44
# LLVM :: Feature/intrinsic-noduplicate.ll

test/Instrumentation/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config.unsupported = True # HLSL Change - Disable lit suites.
1+
config.suffixes = [] # HLSL Change - Disable lit suites.
22

33
# Failing Tests (86):
44
# LLVM :: Instrumentation/AddressSanitizer/adaptive_global_redzones.ll

test/Linker/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config.unsupported = True # HLSL Change - Disable lit suites.
1+
config.suffixes = [] # HLSL Change - Disable lit suites.
22

33
# Failing Tests (8):
44
# LLVM :: Linker/pr21374.ll

test/SymbolRewriter/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
config.unsupported = True # HLSL Change - Disable lit suites.
1+
config.suffixes = [] # HLSL Change - Disable lit suites.

test/Transforms/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config.unsupported = True # HLSL Change - Disable lit suites.
1+
config.suffixes = [] # HLSL Change - Disable lit suites.
22

33
# If these are enabled, a duplicate test was created here which can be deleted:
44
# tools/clang/test/HLSLFileCheck/passes/llvm/globalopt/alias-used.ll

test/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ config.test_format = lit.formats.ShTest(execute_external)
4242
# suffixes: A list of file extensions to treat as test files. This is overriden
4343
# by individual lit.local.cfg files in the test subdirectories.
4444
# HLSL Change Start - use just a subset of LLVM tests
45-
config.suffixes = ['.txt', '.td', '.test']
45+
config.suffixes = ['.ll', '.txt', '.td', '.test']
4646
#config.suffixes = ['.ll', '.c', '.cxx', '.test', '.txt', '.s']
4747
# HLSL Change End - use just a subset of LLVM tests
4848

test/tools/dsymutil/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
config.unsupported = True # HLSL Change - Disable lit suites.
1+
config.suffixes = [] # HLSL Change - Disable lit suites.

0 commit comments

Comments
 (0)