summaryrefslogtreecommitdiff
path: root/tests/spec/arb_es2_compatibility/arb_es2_compatibility-shadercompiler.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-04-29 17:56:29 +0200
committerMarek Olšák <maraeo@gmail.com>2011-04-29 18:08:10 +0200
commit73617fa907aa54dea538eccb6ac93ab02d7b34f9 (patch)
tree12a48006f39f40dd424aa2e51e41d26b0f867e8c /tests/spec/arb_es2_compatibility/arb_es2_compatibility-shadercompiler.c
parent03cc90919422d995d24151e499c9f120404d50b0 (diff)
Rename PIGLIT_SUCCESS and PIGLIT_FAILURE to PIGLIT_PASS and PIGLIT_FAIL, resp.
Diffstat (limited to 'tests/spec/arb_es2_compatibility/arb_es2_compatibility-shadercompiler.c')
-rw-r--r--tests/spec/arb_es2_compatibility/arb_es2_compatibility-shadercompiler.c6
1 files changed, 3 insertions, 3 deletions
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