Home
last modified time | relevance | path

Searched refs:_fail (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/tools/testing/selftests/net/lib/py/
H A Dksft.py33 def _fail(*args): function
55 _fail("Check failed", a, "!=", b, comment)
61 _fail("Check failed", a, "==", b, comment)
66 _fail("Check failed", a, "does not eval to True", comment)
71 _fail("Check failed", a, "not in", b, comment)
76 _fail("Check failed", a, "in", b, comment)
81 _fail("Check failed", a, "is not", b, comment)
86 _fail("Check failed", a, "<", b, comment)
91 _fail("Check failed", a, ">=", b, comment)
104 _fail(f"Expected exception {str(self.expected_type.__name__)}, none raised")
[all …]
/linux-6.15/include/linux/
H A Dcleanup.h345 #define __scoped_cond_guard(_name, _fail, _label, args...) \ argument
349 _fail; \
354 #define scoped_cond_guard(_name, _fail, args...) \ argument
355 __scoped_cond_guard(_name, _fail, __UNIQUE_ID(label), args)