mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-24 02:16:03 +00:00
tests/gem_reset_stats: More macros!
Instead of freaking out about negating the skip condition and punting I could have remembered that I've solved this already ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
3c55a7df57
commit
4fd0458be2
@ -733,9 +733,9 @@ igt_main
|
||||
"Architecture %d too old\n", intel_gen(devid));
|
||||
|
||||
ret = drmIoctl(fd, CONTEXT_CREATE_IOCTL, &create);
|
||||
if (ret != 0 && (errno == ENODEV || errno == EINVAL))
|
||||
igt_skip("Kernel is too old, or contexts not supported: %s\n",
|
||||
strerror(errno));
|
||||
igt_skip_on_f(ret != 0 && (errno == ENODEV || errno == EINVAL),
|
||||
"Kernel is too old, or contexts not supported: %s\n",
|
||||
strerror(errno));
|
||||
|
||||
close(fd);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user