Merge vk-gl-cts/vulkan-cts-1.2.7 into vk-gl-cts/vulkan-cts-1.2.8
[platform/upstream/VK-GL-CTS.git] / executor / xeTestLogWriter.cpp
index f4cce6e..d69015d 100644 (file)
@@ -30,8 +30,6 @@
 namespace xe
 {
 
-static const char* TEST_LOG_VERSION = "0.3.3";
-
 /* Batch result writer. */
 
 struct ContainerValue
@@ -504,7 +502,7 @@ void writeTestResult (const TestCaseResult& result, xe::xml::Writer& xmlWriter)
        using xml::Writer;
 
        xmlWriter << Writer::BeginElement("TestCaseResult")
-                         << Writer::Attribute("Version", TEST_LOG_VERSION)
+                         << Writer::Attribute("Version", result.caseVersion)
                          << Writer::Attribute("CasePath", result.casePath)
                          << Writer::Attribute("CaseType", getTestCaseTypeName(result.caseType));