Convert simple if(piglit_get_gl_version() < N) { SKIP } to require
Generated from the following semantic patch: @@ expression VER; expression MSG; @@ - if (piglit_get_gl_version() < VER) { - printf(MSG); - piglit_report_result(PIGLIT_SKIP); ( - exit(1); | ) - } + piglit_require_gl_version(VER); Reviewed-by:Eric Anholt <eric@anholt.net> Signed-off-by:
Chris Forbes <chrisf@ijw.co.nz>
Showing