summaryrefslogtreecommitdiff
path: root/tests/gem_partial_pwrite_pread.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_partial_pwrite_pread.c')
-rw-r--r--tests/gem_partial_pwrite_pread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gem_partial_pwrite_pread.c b/tests/gem_partial_pwrite_pread.c
index 0330216b..a27e584b 100644
--- a/tests/gem_partial_pwrite_pread.c
+++ b/tests/gem_partial_pwrite_pread.c
@@ -270,15 +270,15 @@ static void do_tests(int cache_level, const char *suffix)
}
snprintf(name, sizeof(name), "reads%s", suffix);
- if (drmtest_run_subtest(name))
+ drmtest_subtest_block(name)
test_partial_reads();
snprintf(name, sizeof(name), "writes%s", suffix);
- if (drmtest_run_subtest(name))
+ drmtest_subtest_block(name)
test_partial_writes();
snprintf(name, sizeof(name), "writes-after-reads%s", suffix);
- if (drmtest_run_subtest(name))
+ drmtest_subtest_block(name)
test_partial_read_writes();
}