Fix some status code clarifications
authorGraeme Leese <gleese@broadcom.com>
Mon, 28 Mar 2022 18:00:14 +0000 (19:00 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 6 May 2022 16:11:00 +0000 (16:11 +0000)
Some of the clarifications include the status as well. That meant that
they were printed as "Fail (fail (results differ))". This change removes
the extra, unneeded part.

Components: OpenGL
Affects: KHR-GL*.blend_equation_advanced.*

Change-Id: Ieeda43bbfb8e8d04d3e4a3f486a3391e399feee7

external/openglcts/modules/common/glcBlendEquationAdvancedTests.cpp

index 7611d72..c5a181f 100644 (file)
@@ -748,7 +748,7 @@ CoherentBlendTestCaseGroup::CoherentBlendTest::IterateResult CoherentBlendTestCa
 
        delete[] result;
 
-       m_testCtx.setTestResult(pass ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, pass ? "Pass" : "Fail (results differ)");
+       m_testCtx.setTestResult(pass ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, pass ? "" : "results differ");
        return STOP;
 }
 
@@ -1085,7 +1085,7 @@ BlendTestCaseGroup::BlendTest::IterateResult BlendTestCaseGroup::BlendTest::iter
                }
        }
 
-       m_testCtx.setTestResult(pass ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, pass ? "Pass" : "Fail (results differ)");
+       m_testCtx.setTestResult(pass ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, pass ? "" : "results differ");
        delete[] resultBytes;
        return STOP;
 }