Lines Matching defs:xp_fail
103 bool xp_fail(int, const char *, ...) __printflike(2, 3);
762 * If caller already count up testcount, call xp_fail() instead.
766 xp_fail(__LINE__, fmt); \
768 bool xp_fail(int line, const char *fmt, ...)
811 r = xp_fail(line, "%s expects %d but %d", varname, exp, act);
822 r = xp_fail(line, "%s expects \"%s\" but \"%s\"",
835 r = xp_fail(line, "%s expects != %d but %d", varname, exp, act);
848 r = xp_fail(__LINE__, "(%s) is expected but not met", exprname);
861 r = xp_fail(line, "%s expects %d but -1,err#%d(%s)",
881 r = xp_fail(line, "%s expects success but -1,err#%d(%s)",
895 r = xp_fail(line, "%s expects -1,err#%d but %d",
901 r = xp_fail(line, "%s expects -1,err#%d(%s) but -1,err#%d(%s)",
926 r = xp_fail(line,
933 r = xp_fail(line,
939 r = xp_fail(line,