diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-04-29 17:56:29 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-04-29 18:08:10 +0200 |
commit | 73617fa907aa54dea538eccb6ac93ab02d7b34f9 (patch) | |
tree | 12a48006f39f40dd424aa2e51e41d26b0f867e8c /tests/spec/arb_es2_compatibility | |
parent | 03cc90919422d995d24151e499c9f120404d50b0 (diff) |
Rename PIGLIT_SUCCESS and PIGLIT_FAILURE to PIGLIT_PASS and PIGLIT_FAIL, resp.
Diffstat (limited to 'tests/spec/arb_es2_compatibility')
5 files changed, 12 insertions, 12 deletions
diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef.c index 72248cfff..1e2268471 100644 --- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef.c +++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-depthrangef.c @@ -80,7 +80,7 @@ piglit_display(void) glutSwapBuffers(); - return pass ? PIGLIT_SUCCESS : PIGLIT_FAILURE; + return pass ? PIGLIT_PASS : PIGLIT_FAIL; #else return PIGLIT_SKIP; #endif /* GL_ARB_ES2_compatibility */ diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-drawbuffers.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-drawbuffers.c index a28b45d2b..6c66fd52c 100644 --- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-drawbuffers.c +++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-drawbuffers.c @@ -61,7 +61,7 @@ attach_texture(int i) enum piglit_result piglit_display(void) { - return PIGLIT_FAILURE; + return PIGLIT_FAIL; } void @@ -90,17 +90,17 @@ piglit_init(int argc, char **argv) status = glCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT); if (status == GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER) { fprintf(stderr, "fbo incomplete draw buffer\n"); - piglit_report_result(PIGLIT_FAILURE); + piglit_report_result(PIGLIT_FAIL); } glReadBuffer(GL_COLOR_ATTACHMENT1); status = glCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT); if (status == GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER) { fprintf(stderr, "fbo incomplete read buffer\n"); - piglit_report_result(PIGLIT_FAILURE); + piglit_report_result(PIGLIT_FAIL); } assert(glGetError() == 0); - piglit_report_result(PIGLIT_SUCCESS); + piglit_report_result(PIGLIT_PASS); } diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-maxvectors.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-maxvectors.c index 7fe77fc60..1dfeb060d 100644 --- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-maxvectors.c +++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-maxvectors.c @@ -34,7 +34,7 @@ int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE; enum piglit_result piglit_display(void) { - return PIGLIT_FAILURE; + return PIGLIT_FAIL; } void @@ -83,9 +83,9 @@ piglit_init(int argc, char **argv) assert(!glGetError()); if (!pass) - piglit_report_result(PIGLIT_FAILURE); + piglit_report_result(PIGLIT_FAIL); else - piglit_report_result(PIGLIT_SUCCESS); + piglit_report_result(PIGLIT_PASS); #else piglit_report_result(PIGLIT_SKIP); diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c index f48b90e77..eca6b9b3e 100644 --- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c +++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-releaseshadercompiler.c @@ -104,7 +104,7 @@ piglit_display(void) glutSwapBuffers(); - return pass ? PIGLIT_SUCCESS : PIGLIT_FAILURE; + return pass ? PIGLIT_PASS : PIGLIT_FAIL; #else return PIGLIT_SKIP; #endif /* GL_ARB_ES2_compatibility */ diff --git a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-shadercompiler.c b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-shadercompiler.c index 5ae50b67c..c7febf8b2 100644 --- a/tests/spec/arb_es2_compatibility/arb_es2_compatibility-shadercompiler.c +++ b/tests/spec/arb_es2_compatibility/arb_es2_compatibility-shadercompiler.c @@ -35,7 +35,7 @@ int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE; enum piglit_result piglit_display(void) { - return PIGLIT_FAILURE; + return PIGLIT_FAIL; } void @@ -57,9 +57,9 @@ piglit_init(int argc, char **argv) glGetIntegerv(GL_SHADER_COMPILER, &shadercompiler); assert(!glGetError()); if (!shadercompiler) - piglit_report_result(PIGLIT_FAILURE); + piglit_report_result(PIGLIT_FAIL); else - piglit_report_result(PIGLIT_SUCCESS); + piglit_report_result(PIGLIT_PASS); #else piglit_report_result(PIGLIT_SKIP); #endif |