summaryrefslogtreecommitdiff
path: root/tests/shaders/fp-indirections.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/shaders/fp-indirections.c
parent03cc90919422d995d24151e499c9f120404d50b0 (diff)
Rename PIGLIT_SUCCESS and PIGLIT_FAILURE to PIGLIT_PASS and PIGLIT_FAIL, resp.
Diffstat (limited to 'tests/shaders/fp-indirections.c')
-rw-r--r--tests/shaders/fp-indirections.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/shaders/fp-indirections.c b/tests/shaders/fp-indirections.c
index 9df19db9b..9015cec6e 100644
--- a/tests/shaders/fp-indirections.c
+++ b/tests/shaders/fp-indirections.c
@@ -71,7 +71,7 @@ static char *gen_temporary_dest_indirections(int sample_count,
if (prog == 0) {
printf("malloc failed.\n");
- piglit_report_result(PIGLIT_FAILURE);
+ piglit_report_result(PIGLIT_FAIL);
exit(1);
}
@@ -140,7 +140,7 @@ static char *gen_temporary_source_indirections(int sample_count,
if (prog == 0) {
printf("malloc failed.\n");
- piglit_report_result(PIGLIT_FAILURE);
+ piglit_report_result(PIGLIT_FAIL);
exit(1);
}
@@ -269,7 +269,7 @@ piglit_display(void)
pass = test_temporary_dest_indirections() && pass;
pass = test_temporary_source_indirections() && pass;
- return pass ? PIGLIT_SUCCESS : PIGLIT_FAILURE;
+ return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}
void