mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 22:32:57 +00:00
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 <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -197,10 +197,10 @@ int main(int argc, char **argv)
|
||||
|
||||
drmtest_subtest_init(argc, argv);
|
||||
|
||||
if (drmtest_run_subtest("flink_name"))
|
||||
drmtest_subtest_block("flink_name")
|
||||
test_flink_name();
|
||||
|
||||
if (drmtest_run_subtest("flink_close"))
|
||||
drmtest_subtest_block("flink_close")
|
||||
test_flink_close();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user