Fix a few bugs in a EGL_KHR_no_config_context test.
authorKenneth Graunke <kenneth.w.graunke@intel.com>
Thu, 2 Feb 2017 18:40:02 +0000 (10:40 -0800)
committerKenneth Graunke <kenneth.w.graunke@intel.com>
Mon, 13 Feb 2017 07:58:31 +0000 (23:58 -0800)
commit2a2a2ab8c79d7c4c6aa8bcdf15be42269e96c9a2
tree24792b9793bfe58625d6bd9ddf94fa94de63f014
parent06811e1c449e303d86f5eba28699ef238dfd78f5
Fix a few bugs in a EGL_KHR_no_config_context test.

The dEQP-EGL.functional.create_context.no_config test had the eglBindAPI
check backwards - so it was skipping APIs assuming they failed when they
actually succeeded.

Secondly, it failed to actually set the test result to "pass" if all
cases passed, which led to assertion failures:

    Assertion `testResult != QP_TEST_RESULT_LAST' failed.

Change-Id: I7a20467012fd6c174f79679bbf640917c327574c
modules/egl/teglCreateContextTests.cpp