Commit 21ec8c78 authored by Daniel Vetter's avatar Daniel Vetter

tests: mark gen3-only tests as such

... instead of hanging the gpu.
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent b8245e18
......@@ -546,6 +546,11 @@ int main(int argc, char **argv)
fd = drm_open_any();
if (!IS_GEN3(intel_get_drm_devid(fd))) {
printf("gen3-only test, doing nothing\n");
return 0;
}
count = 0;
if (argc > 1)
count = atoi(argv[1]);
......
......@@ -394,6 +394,11 @@ int main(int argc, char **argv)
fd = drm_open_any();
if (!IS_GEN3(intel_get_drm_devid(fd))) {
printf("gen3-only test, doing nothing\n");
return 0;
}
count = 0;
if (argc > 1)
count = atoi(argv[1]);
......
......@@ -435,6 +435,11 @@ int main(int argc, char **argv)
fd = drm_open_any();
if (!IS_GEN3(intel_get_drm_devid(fd))) {
printf("gen3-only test, doing nothing\n");
return 0;
}
count = 0;
if (argc > 1)
count = atoi(argv[1]);
......
......@@ -422,6 +422,11 @@ int main(int argc, char **argv)
fd = drm_open_any();
if (!IS_GEN3(intel_get_drm_devid(fd))) {
printf("gen3-only test, doing nothing\n");
return 0;
}
count = 0;
if (argc > 1)
count = atoi(argv[1]);
......
......@@ -422,6 +422,11 @@ int main(int argc, char **argv)
fd = drm_open_any();
if (!IS_GEN3(intel_get_drm_devid(fd))) {
printf("gen3-only test, doing nothing\n");
return 0;
}
count = 0;
if (argc > 1)
count = atoi(argv[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment