Skip to content

Commit 64030a4

Browse files
authored
Add PixDiaTest to put Dia related PixTests (microsoft#5936)
New class PixDiaTest is created for all TEST_METHOD dependent on dia. PixTestUtils.cpp/.h is created to share code between PixDiaTest and PixTest. Will enable PixTest for linux next. This is for microsoft#5877
1 parent df0287c commit 64030a4

File tree

5 files changed

+3406
-3291
lines changed

5 files changed

+3406
-3291
lines changed

tools/clang/unittests/HLSL/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ add_clang_library(ClangHLSLTests SHARED
4242
Objects.cpp
4343
OptimizerTest.cpp
4444
OptionsTest.cpp
45+
PixDiaTest.cpp
4546
PixTest.cpp
47+
PixTestUtils.cpp
4648
RewriterTest.cpp
4749
SystemValueTest.cpp
4850
ValidationTest.cpp
@@ -53,6 +55,7 @@ add_clang_library(ClangHLSLTests SHARED
5355
else (WIN32)
5456
set(HLSL_IGNORE_SOURCES
5557
MSFileSysTest.cpp
58+
PixDiaTest.cpp
5659
PixTest.cpp
5760
RewriterTest.cpp
5861
)
@@ -71,6 +74,7 @@ add_clang_unittest(ClangHLSLTests
7174
Objects.cpp
7275
OptimizerTest.cpp
7376
OptionsTest.cpp
77+
PixTestUtils.cpp
7478
SystemValueTest.cpp
7579
TestMain.cpp
7680
ValidationTest.cpp

0 commit comments

Comments
 (0)