summaryrefslogtreecommitdiff
path: root/tests/shaders/fp-indirections.c
diff options
context:
space:
mode:
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