-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DXC Tests: Filter out unsupported test, add verbose option and improv…
…e output (#5537) Improve output of DXC test runs: - Add `-lit-verbose` option to `hctbuild` to setup lit test runs with verbose output (`hcttest` will list test names as they run) - Hide tests that are never supported (there was over 10K of unsupported tests found by LIT discovery) - Show warnings about non-essential tools only in LIT debug mode - Skip over file copying and non-LIT part of `hcttest.cmd` if all requested tests have already been run - CMD tests have been move under clang's lit tests; keep the `hcttest cmd` option for running cmd tests separately Number of unsupported tests was reduced from 10452 to 1 if spir-v is enabled, 39 if not. The number of tests that run did not change.
- Loading branch information
Showing
27 changed files
with
85 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config.suffixes = ['.ll'] | ||
# HLSL Change - Hide these lit suites. | ||
#config.suffixes = ['.ll'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config.suffixes = ['.ll'] | ||
# HLSL Change - Hide these lit suites. | ||
#config.suffixes = ['.ll'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
config.suffixes = ['.mc'] | ||
|
||
# HLSL Change - Hide these lit suites. | ||
#config.suffixes = ['.mc'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
config.unsupported = True # HLSL Change - Disable and hide these lit suites. | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
config.suffixes = ['.test', '.ll', '.s', '.yaml'] | ||
config.unsupported = True # HLSL Change - Disable and hide these lit suites. | ||
#config.suffixes = ['.test', '.ll', '.s', '.yaml'] | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# HLSL Change - Hide these lit suites (except llvm-lit). | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
config.suffixes = ['.test', '.m', '.cpp', '.c'] | ||
config.unsupported = True # HLSL Change - Disable and hide these lit suites. | ||
config.suffixes = [] | ||
#config.suffixes = ['.test', '.m', '.cpp', '.c'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# HLSL Change - Enable LIT tool tests | ||
config.suffixes = ['.c'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
config.suffixes.add('.proftext') | ||
config.unsupported = True # HLSL Change - Disable and hide these lit suites. | ||
config.suffixes = [] | ||
#config.suffixes.add('.proftext') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
# HLSL Change - Hide files in CodeGenHLSL directory - they are tested by existing | ||
# TAEF tests (CompilerTest, DxilContainerTest, LinkerTest and ValidationTest) | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
config.unsupported = True # HLSL Change - Disable and hide these lit suites. | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config.unsupported = True # Keep tests which not enabled before. | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
# HLSL Change - Hide files in DxilValidation directory - they are tested by existing | ||
# TAEF tests (DxilValidation) | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
config.suffixes = ['.c', '.cpp', '.m', '.mm', '.ll'] | ||
# HLSL Change - Hide these lit suites. | ||
config.suffixes = [] | ||
#config.suffixes = ['.c', '.cpp', '.m', '.mm', '.ll'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
import os | ||
|
||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
|
||
# Add .hlsl as a test extension. | ||
config.suffixes.add('.hlsl') | ||
# HLSL Change - Hide files in HLSL directory - they are tested by existing | ||
# TAEF tests (RewriterTest, VerifierTest) | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
# HLSL Change - Hide files in HLSLDisabled | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
# HLSL Change - Hide files in CodeGenHLSL directory - they are tested by existing | ||
# TAEF tests (CompilerTest, DxilContainerTest, LinkerTest) | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
config.unsupported = True # HLSL Change - Disable lit suites. | ||
# HLSL Change - Hide these lit suites. | ||
config.suffixes = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
config.suffixes = ['.json'] | ||
# HLSL Change - Hide these lit suites. | ||
config.suffixes = [] | ||
#config.suffixes = ['.json'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters