summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-03-09 14:49:27 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-03-09 15:09:56 +0100
commite1ca201fe9ac23e187aeaf5143d9720042aead88 (patch)
tree008884d0185af39dc29069bde74875e473cfb703
parent598deeda52c068257812d077937f0592be867e4f (diff)
tests/gem_reloc_overflow: Add missing igt_fixture
Boom when running with --list on non-intel machines or as non-root. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
-rw-r--r--tests/gem_reloc_overflow.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/gem_reloc_overflow.c b/tests/gem_reloc_overflow.c
index 49ddb6fe..642b73de 100644
--- a/tests/gem_reloc_overflow.c
+++ b/tests/gem_reloc_overflow.c
@@ -420,9 +420,11 @@ igt_main
}
reloc_tests("");
- igt_disable_prefault();
+ igt_fixture
+ igt_disable_prefault();
reloc_tests("-noprefault");
- igt_enable_prefault();
+ igt_fixture
+ igt_enable_prefault();
source_offset_tests(devid, false);
source_offset_tests(devid, true);