Lines Matching refs:comment
52 def ksft_eq(a, b, comment=""): argument
55 _fail("Check failed", a, "!=", b, comment)
58 def ksft_ne(a, b, comment=""): argument
61 _fail("Check failed", a, "==", b, comment)
64 def ksft_true(a, comment=""): argument
66 _fail("Check failed", a, "does not eval to True", comment)
69 def ksft_in(a, b, comment=""): argument
71 _fail("Check failed", a, "not in", b, comment)
74 def ksft_ge(a, b, comment=""): argument
76 _fail("Check failed", a, "<", b, comment)
79 def ksft_lt(a, b, comment=""): argument
81 _fail("Check failed", a, ">=", b, comment)
102 def ksft_busy_wait(cond, sleep=0.005, deadline=1, comment=""): argument
108 _fail("Waiting for condition timed out", comment)
113 def ktap_result(ok, cnt=1, case="", comment=""): argument
125 if comment:
126 res += " # " + comment
209 comment = ""
215 comment = "SKIP " + str(e)
218 comment = "XFAIL " + str(e)
235 ktap_result(KSFT_RESULT, cnt, case, comment=comment)