summaryrefslogtreecommitdiff
path: root/tests/gem_caching.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 10:47:53 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 10:47:53 +0200
commit23eee394893541fa531543e8fb4b12610599817c (patch)
tree78afa3333e549e3605de4c621ef42357018de714 /tests/gem_caching.c
parent5951ffb6a042037b74f7123d599b6a4f907ecff0 (diff)
tests: roll out igt_require some more
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_caching.c')
-rw-r--r--tests/gem_caching.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/gem_caching.c b/tests/gem_caching.c
index 6fa9a1534..473872ce1 100644
--- a/tests/gem_caching.c
+++ b/tests/gem_caching.c
@@ -143,8 +143,7 @@ int main(int argc, char **argv)
}
igt_subtest("reads") {
- if (!(flags & TEST_READ))
- igt_skip();
+ igt_require(flags & TEST_READ);
printf("checking partial reads\n");
@@ -173,8 +172,7 @@ int main(int argc, char **argv)
}
igt_subtest("writes") {
- if (!(flags & TEST_WRITE))
- igt_skip();
+ igt_require(flags & TEST_WRITE);
printf("checking partial writes\n");
@@ -225,8 +223,7 @@ int main(int argc, char **argv)
}
igt_subtest("read-writes") {
- if (!((flags & TEST_BOTH) == TEST_BOTH))
- igt_skip();
+ igt_require((flags & TEST_BOTH) == TEST_BOTH);
printf("checking partial writes after partial reads\n");