Daniel Vetter 66b31b6e19 lib: add igt.cocci
Small start but useful to collect refactorings/simplifications for
common igt patterns. Please add more if you stumble over some so that
we can occasionally run this to clean up the tests.

I haven't figured out yet how to do the assert_cmpint->assert_eq
transformation.

Run this with

spatch --sp-file lib/igt.cocci --in-place tests/*.c

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-06-13 11:17:22 +02:00
..
2014-04-25 07:45:56 +01:00
2013-12-05 15:32:42 -08:00
2014-02-20 13:42:25 +00:00
2011-03-29 22:52:50 +02:00
2014-06-12 10:12:13 +01:00
2014-06-12 10:12:13 +01:00
2014-06-13 11:17:04 +02:00
2014-06-12 10:12:13 +01:00
2014-06-13 11:17:22 +02:00
2014-04-25 07:45:56 +01:00
2014-04-29 18:39:12 +03:00
2014-06-12 09:04:45 +02:00