diff options
Diffstat (limited to 'lib/igt.cocci')
-rw-r--r-- | lib/igt.cocci | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/igt.cocci b/lib/igt.cocci index d399496b..adebb31c 100644 --- a/lib/igt.cocci +++ b/lib/igt.cocci @@ -84,3 +84,10 @@ expression pipe; + for_each_pipe (display, pipe) { ... } + +// Tests really shouldn't use plain assert! +@@ +expression E; +@@ +- assert(E); ++ igt_assert(E); |