diff options
Diffstat (limited to 'tests/gem_pwrite.c')
-rw-r--r-- | tests/gem_pwrite.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/gem_pwrite.c b/tests/gem_pwrite.c index 53274043..8b5b442f 100644 --- a/tests/gem_pwrite.c +++ b/tests/gem_pwrite.c @@ -99,10 +99,10 @@ int main(int argc, char **argv) { -1 }, }, *c; - drmtest_skip_on_simulation(); + igt_skip_on_simulation(); - drmtest_subtest_init(argc, argv); - drmtest_skip_on_simulation(); + igt_subtest_init(argc, argv); + igt_skip_on_simulation(); if (argc > 1 && atoi(argv[1])) object_size = atoi(argv[1]); @@ -115,7 +115,7 @@ int main(int argc, char **argv) dst = gem_create(fd, object_size); src = malloc(object_size); - drmtest_subtest("normal") { + igt_subtest("normal") { for (count = 1; count <= 1<<17; count <<= 1) { struct timeval start, end; @@ -131,7 +131,7 @@ int main(int argc, char **argv) } for (c = cache; c->level != -1; c++) { - drmtest_subtest(c->name) { + igt_subtest(c->name) { gem_set_caching(fd, dst, c->level); for (count = 1; count <= 1<<17; count <<= 1) { @@ -154,5 +154,5 @@ int main(int argc, char **argv) close(fd); - return drmtest_retval(); + return igt_retval(); } |