diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-13 16:23:10 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-13 18:14:13 +0200 |
commit | 87042d671fba3c76786171a8037515979e977d9d (patch) | |
tree | 75982350ecc3e5e88bdaf3106c301763e7c49a81 /lib/igt.cocci | |
parent | 2347e6d21eb1431479358955007a4c78430173d8 (diff) |
NEWS: Mention igt.cocci
And also pimp the spatch file itself with usage hints.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt.cocci')
-rw-r--r-- | lib/igt.cocci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/igt.cocci b/lib/igt.cocci index b5c0bfe6..3246924f 100644 --- a/lib/igt.cocci +++ b/lib/igt.cocci @@ -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; |