[i-g-t 01/33] cocci: Fix bogus comment for igt_fail_on_f() replacement

Lyude lyude at redhat.com
Fri Jun 7 23:06:47 UTC 2019


From: Lyude Paul <lyude at redhat.com>

Signed-off-by: Lyude Paul <lyude at redhat.com>
---
 lib/igt.cocci | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/igt.cocci b/lib/igt.cocci
index 6b691862..476cb566 100644
--- a/lib/igt.cocci
+++ b/lib/igt.cocci
@@ -6,7 +6,7 @@
 // on your new testcase.
 
 
-// Replace open-coded augmented igt_assert/skip/require with macro versions
+// Replace open coded calls to igt_fail() with macro versions
 @@
 expression Ec;
 expression list[n] Ep;
@@ -85,7 +85,7 @@ expression pipe;
 ...
 }
 
-// Tests really shouldn't use plain assert!
+// Tests and test libraries really shouldn't use plain assert!
 @@
 expression E;
 @@
-- 
2.21.0



More information about the Intel-gfx-trybot mailing list