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/asmparsertest | |
parent | 03cc90919422d995d24151e499c9f120404d50b0 (diff) |
Rename PIGLIT_SUCCESS and PIGLIT_FAILURE to PIGLIT_PASS and PIGLIT_FAIL, resp.
Diffstat (limited to 'tests/asmparsertest')
-rw-r--r-- | tests/asmparsertest/asmparsertest.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/asmparsertest/asmparsertest.c b/tests/asmparsertest/asmparsertest.c index 9ab25ba26..085ec1b63 100644 --- a/tests/asmparsertest/asmparsertest.c +++ b/tests/asmparsertest/asmparsertest.c @@ -112,7 +112,7 @@ compile(const char *filename, GLenum target, int use_ARB) buf = piglit_load_text_file(filename, &sz); if (buf == NULL) { - piglit_report_result(PIGLIT_FAILURE); + piglit_report_result(PIGLIT_FAIL); } @@ -195,7 +195,7 @@ compile(const char *filename, GLenum target, int use_ARB) } if ((err == GL_NO_ERROR) != (expected_fail == FALSE)) { - piglit_report_result(PIGLIT_FAILURE); + piglit_report_result(PIGLIT_FAIL); } } @@ -228,7 +228,7 @@ main(int argc, char **argv) } if ((argc - i) < 2) { - piglit_report_result(PIGLIT_FAILURE); + piglit_report_result(PIGLIT_FAIL); } @@ -248,13 +248,13 @@ main(int argc, char **argv) piglit_require_extension("GL_NV_fragment_program"); use_ARB = 0; } else { - piglit_report_result(PIGLIT_FAILURE); + piglit_report_result(PIGLIT_FAIL); } for (i++; i < argc; i++) { compile(argv[i], target, use_ARB); } - piglit_report_result(PIGLIT_SUCCESS); + piglit_report_result(PIGLIT_PASS); return 0; } |