浏览代码

[linux-port] Disable (on Uinux) unit tests that rely on d3d12shader.h

Since we don't have d3d12shader.h on Linux/macOS, I am disabling the
unit tests that depend on it.

I am currently disabling entire files that depend on this header.
It is possible to have a more fine-grained change to only disable
specific tests within these files, although that would be a more intrusive
change and not necessary at the moment.
Ehsan Nasiri 7 年之前
父节点
当前提交
2642330b3a
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5 4
      tools/clang/unittests/HLSL/CMakeLists.txt

+ 5 - 4
tools/clang/unittests/HLSL/CMakeLists.txt

@@ -65,17 +65,19 @@ set(HLSL_IGNORE_SOURCES
   MSFileSysTest.cpp
   RewriterTest.cpp
   ShaderOpTest.cpp
+  D3DReflectionDumper.cpp
+  DxilContainerTest.cpp
+  FileCheckerTest.cpp
+  ValidationTest.cpp
+  CompilerTest.cpp
   )
 
 add_clang_unittest(clang-hlsl-tests
   AllocatorTest.cpp
-  CompilerTest.cpp
   DxcTestUtils.cpp
-  DxilContainerTest.cpp
   DxilModuleTest.cpp
   DXIsenseTest.cpp
   ExtensionTest.cpp
-  FileCheckerTest.cpp
   FileCheckForTest.cpp
   FunctionTest.cpp
   HLSLTestOptions.cpp
@@ -84,7 +86,6 @@ add_clang_unittest(clang-hlsl-tests
   OptionsTest.cpp
   SystemValueTest.cpp
   TestMain.cpp
-  ValidationTest.cpp
   VerifierTest.cpp
   )