Skip to content

Commit a52822b

Browse files
committed
Replaces narrow strings with wide ones in long vector test execution tests.
Fixes #7881.
1 parent facd05a commit a52822b

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

tools/clang/unittests/HLSLExec/LongVectorTestData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ template <typename T> const std::vector<T> &getInputSet(InputSet InputSet) {
257257
default: \
258258
break; \
259259
} \
260-
VERIFY_FAIL("Missing input set"); \
260+
VERIFY_FAIL(L"Missing input set"); \
261261
std::abort(); \
262262
}
263263

tools/clang/unittests/HLSLExec/LongVectors.cpp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,14 +1345,15 @@ using namespace LongVector;
13451345
class DxilConf_SM69_Vectorized {
13461346
public:
13471347
BEGIN_TEST_CLASS(DxilConf_SM69_Vectorized)
1348-
TEST_CLASS_PROPERTY("Kits.TestName",
1349-
"D3D12 - Shader Model 6.9 - Vectorized DXIL - Core Tests")
1350-
TEST_CLASS_PROPERTY("Kits.TestId", "81db1ff8-5bc5-48a1-8d7b-600fc600a677")
1351-
TEST_CLASS_PROPERTY("Kits.Description",
1352-
"Validates required SM 6.9 vectorized DXIL operations")
13531348
TEST_CLASS_PROPERTY(
1354-
"Kits.Specification",
1355-
"Device.Graphics.D3D12.DXILCore.ShaderModel69.CoreRequirement")
1349+
L"Kits.TestName",
1350+
L"D3D12 - Shader Model 6.9 - Vectorized DXIL - Core Tests")
1351+
TEST_CLASS_PROPERTY(L"Kits.TestId", L"81db1ff8-5bc5-48a1-8d7b-600fc600a677")
1352+
TEST_CLASS_PROPERTY(L"Kits.Description",
1353+
L"Validates required SM 6.9 vectorized DXIL operations")
1354+
TEST_CLASS_PROPERTY(
1355+
L"Kits.Specification",
1356+
L"Device.Graphics.D3D12.DXILCore.ShaderModel69.CoreRequirement")
13561357
END_TEST_CLASS()
13571358

13581359
TEST_CLASS_SETUP(classSetup) {

0 commit comments

Comments
 (0)