tests: Fix duplicate 'kms_flip_event_leak' entry in tests/Makefile.sources

Or, it will cause piglit failure to run I-G-T test case

Signed-off-by: Shuang He <shuang.he@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
Shuang He 2011-04-19 04:16:06 +08:00 committed by Daniel Vetter
parent 1f6a64ee80
commit b556c9e8e5
2 changed files with 2 additions and 3 deletions

View File

@ -64,7 +64,6 @@ TESTS_progs_M = \
kms_flip \
kms_flip_event_leak \
kms_flip_tiling \
kms_flip_event_leak \
kms_mmio_vs_cs_flip \
kms_pipe_b_c_ivb \
kms_pipe_crc_basic \

View File

@ -77,7 +77,7 @@ subslice_total(void)
int ret;
ret = getparam(LOCAL_I915_PARAM_SUBSLICE_TOTAL, (int*)&subslice_total);
igt_skip_on_f(ret == -EINVAL, "Interface not supported by kernel\n");
igt_skip_on_f(ret == -EINVAL && intel_gen(devid), "Interface not supported by kernel\n");
if (ret) {
/*
@ -92,7 +92,7 @@ subslice_total(void)
/*
* All other devices must implement the interface, so
* fail them if we are here.
*/
*/
} else {
igt_assert_eq(ret, 0);
}