lib/igt.cocci: Add s/assert/igt_assert/
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Jul 2014 08:21:37 +0000 (10:21 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Jul 2014 08:23:20 +0000 (10:23 +0200)
commit428060c555526c988f4120718f8a000e59ac8c7b
treea9217c40c79dda40207868314bc92d0cc28a5fdf
parent43784baa1346a36f99a84a06cfc83c11b507c03e
lib/igt.cocci: Add s/assert/igt_assert/

People use it way too often, and it upsets the test library. The only
valid places to use this is of igt infrastructure self-tests where you
need to check something _without_ all the other abi use checks
igt_fail and friends do. For those tests just #define an internal
assert to hide it.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/igt.cocci
tests/igt_simulation.c