projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36be04b
)
test/gem_gtt_hog: bail out earlier
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 11 Feb 2014 23:05:57 +0000
(
00:05
+0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 11 Feb 2014 23:07:19 +0000
(
00:07
+0100)
This way we properly skip instead of failing hard. Just result
polish when running on non-intel systems.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_gtt_hog.c
patch
|
blob
|
history
diff --git
a/tests/gem_gtt_hog.c
b/tests/gem_gtt_hog.c
index
53d7dd7
..
5f14109
100644
(file)
--- a/
tests/gem_gtt_hog.c
+++ b/
tests/gem_gtt_hog.c
@@
-150,6
+150,10
@@
igt_simple_main
pid_t children[64];
int n;
+ /* check for an intel gpu before goint nuts. */
+ int fd = drm_open_any();
+ close(fd);
+
igt_skip_on_simulation();
gettimeofday(&start, NULL);