Lines Matching refs:comment
73 def ksft_eq(a, b, comment=""):
76 _fail("Check failed", a, "!=", b, comment)
79 def ksft_ne(a, b, comment=""):
82 _fail("Check failed", a, "==", b, comment)
85 def ksft_true(a, comment=""):
87 _fail("Check failed", a, "does not eval to True", comment)
90 def ksft_not_none(a, comment=""):
92 _fail("Check failed", a, "is None", comment)
95 def ksft_in(a, b, comment=""):
97 _fail("Check failed", a, "not in", b, comment)
100 def ksft_not_in(a, b, comment=""):
102 _fail("Check failed", a, "in", b, comment)
105 def ksft_is(a, b, comment=""):
107 _fail("Check failed", a, "is not", b, comment)
110 def ksft_ge(a, b, comment=""):
112 _fail("Check failed", a, "<", b, comment)
115 def ksft_gt(a, b, comment=""):
117 _fail("Check failed", a, "<=", b, comment)
120 def ksft_lt(a, b, comment=""):
122 _fail("Check failed", a, ">=", b, comment)
143 def ksft_busy_wait(cond, sleep=0.005, deadline=1, comment=""):
149 _fail("Waiting for condition timed out", comment)
154 def ktap_result(ok, cnt=1, case_name="", comment=""):
166 if comment:
167 res += " # " + comment
333 comment = ""
340 comment = "SKIP " + str(e)
343 comment = "XFAIL " + str(e)
371 ktap_result(KSFT_RESULT, cnt, name, comment=comment)