Commit 33d017c8 authored by Kenneth Moreland's avatar Kenneth Moreland

Remove reporting of no error in tests

At the end of each test each process reported whether it got an IceT or
OpenGL error including if it is no error. That can be helpful in part to
know that the process successfully completed, but for tests on very
large processes it generated excessively large log files. Instead
suppress the report if there is no error.
parent 57a0bbe8
......@@ -77,7 +77,7 @@ static void checkOglError(void)
case ename: printrank("## Current IceT error = " #ename "\n"); break;
switch (error) {
CASE_ERROR(GL_NO_ERROR);
case GL_NO_ERROR: break;
CASE_ERROR(GL_INVALID_ENUM);
CASE_ERROR(GL_INVALID_VALUE);
CASE_ERROR(GL_INVALID_OPERATION);
......@@ -104,7 +104,7 @@ static void checkIceTError(void)
case ename: printrank("## Current IceT error = " #ename "\n"); break;
switch (error) {
CASE_ERROR(ICET_NO_ERROR);
case ICET_NO_ERROR: break;
CASE_ERROR(ICET_SANITY_CHECK_FAIL);
CASE_ERROR(ICET_INVALID_ENUM);
CASE_ERROR(ICET_BAD_CAST);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment