Browse Source

[lit] Only enable spirv lit test when spirv build is enabled. (#5471)

To avoid test fail when spirv build is not enabled.
Xiang Li 2 years ago
parent
commit
7502f0f985
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/clang/test/CodeGenSPIRV_Lit/lit.local.cfg

+ 1 - 0
tools/clang/test/CodeGenSPIRV_Lit/lit.local.cfg

@@ -0,0 +1 @@
+config.unsupported = not config.spirv