tests: Introduce support for marking individual test directives as todo.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2022-04-14 12:52:33 +02:00
committed by Alexandre Julliard
parent 26b89cc338
commit c0562e2a1e
4 changed files with 26 additions and 14 deletions

View File

@@ -343,6 +343,11 @@ static void set_uniforms(struct shader_runner *runner, size_t offset, size_t cou
static void parse_test_directive(struct shader_runner *runner, const char *line)
{
runner->is_todo = false;
if (match_string(line, "todo", &line))
runner->is_todo = true;
if (match_string(line, "draw quad", &line))
{
struct resource_params params;