From 4d07c17c656c2440cfa591038baf0b4030b199c5 Mon Sep 17 00:00:00 2001 From: Tex Riddell Date: Mon, 12 Aug 2019 15:42:32 -0700 Subject: [PATCH] Skip CompilerTest::Mesh if version < 1.5 --- tools/clang/unittests/HLSL/CompilerTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/clang/unittests/HLSL/CompilerTest.cpp b/tools/clang/unittests/HLSL/CompilerTest.cpp index d33544556..a78b75063 100644 --- a/tools/clang/unittests/HLSL/CompilerTest.cpp +++ b/tools/clang/unittests/HLSL/CompilerTest.cpp @@ -2871,5 +2871,7 @@ TEST_F(CompilerTest, CodeGenBatch) { } TEST_F(CompilerTest, Mesh) { + if (m_ver.SkipDxilVersion(1, 5)) + return; CodeGenTestCheckBatchDir(L"mesh"); }