summaryrefslogtreecommitdiff
path: root/lib/igt.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt.cocci')
-rw-r--r--lib/igt.cocci8
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;