tests: improve pipe enumeration

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood 2015-02-17 11:52:29 +00:00
parent 0f3a5809e7
commit efddb93680
3 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ igt_simple_main
igt_display_init(&data.display, data.drm_fd);
for (pipe = 0; pipe < 3; pipe++) {
for_each_pipe(&data.display, pipe) {
for_each_connected_output(&data.display, output) {
if (test(&data, pipe, output))
valid_tests++;

View File

@ -399,7 +399,7 @@ igt_main
igt_display_init(&data.display, data.drm_fd);
}
for (int pipe = 0; pipe < 3; pipe++)
for (int pipe = 0; pipe < I915_MAX_PIPES; pipe++)
run_tests_for_pipe(&data, pipe);
igt_fixture {

View File

@ -569,7 +569,7 @@ igt_main
igt_require(data.display.has_universal_planes);
}
for (int pipe = 0; pipe < 3; pipe++)
for (int pipe = 0; pipe < I915_MAX_PIPES; pipe++)
run_tests_for_pipe(&data, pipe);
igt_fixture {