mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 17:06:14 +00:00
test/gem_gtt_hog: bail out earlier
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>
This commit is contained in:
parent
36be04bdfb
commit
58633cfde4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user