tests: Run igt.cocci
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Jul 2014 18:04:19 +0000 (20:04 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Jul 2014 18:06:54 +0000 (20:06 +0200)
commit282482db70188a3cbc653cebbf407715373255d1
tree37133f637f634c792b3eb9861d4d5d261e2b0192
parent329f7a3734331cb57895a675d4fc87c261f338bd
tests: Run igt.cocci

New stuff caught.

Plus manually simplify the massive igt_fail_on_f(file == NULL, ...) to
a simple igt_assert(file). We already print the errno (if
applicapable) and the condition, which is equally informative.

Cc: Yi Sun <yi.sun@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Wendy Wang <wendy.wang@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/kms_plane.c
tests/kms_universal_plane.c
tests/pm_rc6_residency.c