Add an assert for UTEST that takes a format string
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 25 Nov 2015 22:39:07 +0000 (17:39 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Nov 2015 21:07:36 +0000 (16:07 -0500)
commit47fbfd421b52d0a75a9061c9092eaca441d1358a
treec2bd48d823d92a08cb64e1d694bbae125a44b52d
parent72906d8649fa465f2c6e00dd9ab3fa2f057e4b85
Add an assert for UTEST that takes a format string

UT_ASSERT_M() just prints the message verbatim.  Its va_args are cleanup
routines.  UT_ASSERT_FMT() takes a format string, and its va_args is the
values for the format string.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/utest/include/utest.h