summaryrefslogtreecommitdiff
path: root/tests/gem_pin.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-12 12:17:35 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-12 12:20:22 +0200
commit1caaf0a6b6e00e3ab85a10d7e9e36907d4c1d577 (patch)
tree258ab2ef01b3461f1dc85f081a59ecd578874326 /tests/gem_pin.c
parent814b135541813a6ee623eda895119acdea7f7a2f (diff)
s/drmtest_/igt_/
Requested-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_pin.c')
-rw-r--r--tests/gem_pin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gem_pin.c b/tests/gem_pin.c
index cbb1fe75..4626746f 100644
--- a/tests/gem_pin.c
+++ b/tests/gem_pin.c
@@ -203,7 +203,7 @@ int main(int argc, char **argv)
uint32_t *handle, *offset;
int fd, i;
- drmtest_skip_on_simulation();
+ igt_skip_on_simulation();
fd = drm_open_any();
@@ -214,7 +214,7 @@ int main(int argc, char **argv)
offset = malloc(sizeof(uint32_t)*100);
/* Race creation/use against interrupts */
- drmtest_fork_signal_helper();
+ igt_fork_signal_helper();
gettimeofday(&start, NULL);
do {
for (i = 0; i < 100; i++) {
@@ -242,7 +242,7 @@ int main(int argc, char **argv)
gem_close(fd, handle[i]);
gettimeofday(&now, NULL);
} while ((now.tv_sec - start.tv_sec)*1000 + (now.tv_usec - start.tv_usec) / 1000 < 10000);
- drmtest_stop_signal_helper();
+ igt_stop_signal_helper();
return 0;
}