Fix exit code for cts-runner
authorThomas Spurden <thomas.spurden@broadcom.com>
Mon, 8 Feb 2021 15:30:15 +0000 (15:30 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 25 Feb 2021 18:49:41 +0000 (18:49 +0000)
commit0f2a50e88aad4dae6330168f01c224b3de5bb629
treee17aef21b28449a6b09f81367a7234af98718744
parent816b64254844c96fd14d4401bedc231f9b3c892b
Fix exit code for cts-runner

The runner used m_summary.isConformant to determine the exit code after
m_summary had been cleared by TestRunner::deinit, so it was always
exiting with a failure code.

Don't clear m_summary so that isConformant is valid after deinit.

Affects:

cts-runner

Components: Framework

VK-GL-CTS issue: 1982

Change-Id: I665017f7b11985f1e639971e4a9a627045f3664a
external/openglcts/modules/runner/glcTestRunner.cpp