From: Jarkko Pöyry Date: Fri, 30 Jan 2015 00:19:14 +0000 (-0800) Subject: Terminate test process after first OOM in compute_interop tests. X-Git-Tag: upstream/0.1.0~1788^2~3^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d83d91e1b85fa69359aed7ea15358f770f9eb82;p=platform%2Fupstream%2FVK-GL-CTS.git Terminate test process after first OOM in compute_interop tests. Bug: 19197749 Change-Id: I30eff574ba699b1ee3d28c8fa4c85a5ceea146c1 --- diff --git a/modules/gles31/functional/es31fDrawTests.cpp b/modules/gles31/functional/es31fDrawTests.cpp index 7f28d98..89d904a 100644 --- a/modules/gles31/functional/es31fDrawTests.cpp +++ b/modules/gles31/functional/es31fDrawTests.cpp @@ -1179,6 +1179,7 @@ ComputeShaderGeneratedCase::IterateResult ComputeShaderGeneratedCase::iterate (v { m_testCtx.getLog() << tcu::TestLog::Message << "Got GL_OUT_OF_MEMORY." << tcu::TestLog::EndMessage; m_testCtx.setTestResult(QP_TEST_RESULT_NOT_SUPPORTED, "Got GL_OUT_OF_MEMORY"); + m_testCtx.setTerminateAfter(true); // Do not rely on implementation to be able to recover from OOM return STOP; }