From 9f6365e4eacc7aa07fc3f9524500d1e217b61bb5 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 12 Aug 2013 09:04:24 +0200 Subject: lib/drmtest: Add drmtest_subtest_block macro Doesn't do more than an if (drmtest_run_test(name)) right now, but as soon as we get a bit of infrastructure to handle test failures and skipping, this will get more interesting. Signed-off-by: Daniel Vetter --- tests/prime_self_import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/prime_self_import.c') diff --git a/tests/prime_self_import.c b/tests/prime_self_import.c index ed3ff95f..1bd0bb50 100644 --- a/tests/prime_self_import.c +++ b/tests/prime_self_import.c @@ -386,7 +386,7 @@ int main(int argc, char **argv) drmtest_subtest_init(argc, argv); for (i = 0; i < ARRAY_SIZE(tests); i++) { - if (drmtest_run_subtest(tests[i].name)) + drmtest_subtest_block(tests[i].name) tests[i].fn(); } -- cgit v1.2.3