NEWS: Mention igt.cocci

And also pimp the spatch file itself with usage hints.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2014-06-13 16:23:10 +02:00
parent 2347e6d21e
commit 87042d671f
2 changed files with 11 additions and 0 deletions

3
NEWS
View File

@ -1,6 +1,9 @@
Release 1.8 (xxxx-xx-xx)
------------------------
- Added lib/igt.cocci semantic patch to catch often-seen patterns and convert
them to igt macros/infrastructure.
Release 1.7 (2014-06-09)
------------------------

View File

@ -1,3 +1,11 @@
// Semantic patch for common patters and their replacement by igt infrastructure
// and macros. Please run with
//
// spatch --sp-file lib/igt.cocci --in-place tests/*.c
//
// on your new testcase.
// Replace open-coded augmented igt_assert/skip/require with macro versions
@@
expression Ec;