Lines Matching refs:comment
58 def ksft_eq(a, b, comment=""): argument
61 _fail("Check failed", a, "!=", b, comment)
64 def ksft_ne(a, b, comment=""): argument
67 _fail("Check failed", a, "==", b, comment)
70 def ksft_true(a, comment=""): argument
72 _fail("Check failed", a, "does not eval to True", comment)
75 def ksft_in(a, b, comment=""): argument
77 _fail("Check failed", a, "not in", b, comment)
80 def ksft_not_in(a, b, comment=""): argument
82 _fail("Check failed", a, "in", b, comment)
85 def ksft_is(a, b, comment=""): argument
87 _fail("Check failed", a, "is not", b, comment)
90 def ksft_ge(a, b, comment=""): argument
92 _fail("Check failed", a, "<", b, comment)
95 def ksft_lt(a, b, comment=""): argument
97 _fail("Check failed", a, ">=", b, comment)
118 def ksft_busy_wait(cond, sleep=0.005, deadline=1, comment=""): argument
124 _fail("Waiting for condition timed out", comment)
129 def ktap_result(ok, cnt=1, case="", comment=""): argument
141 if comment:
142 res += " # " + comment
240 comment = ""
246 comment = "SKIP " + str(e)
249 comment = "XFAIL " + str(e)
266 ktap_result(KSFT_RESULT, cnt, case, comment=comment)