From: Mathieu Desnoyers Date: Wed, 8 Sep 2021 17:54:29 +0000 (-0400) Subject: Fix tap.h: remove extra semicolon in pass/fail macros X-Git-Tag: v0.14.0~64 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=95720c6db3b4b2721c71fbb844b3f597fe4a81d0;p=urcu.git Fix tap.h: remove extra semicolon in pass/fail macros Signed-off-by: Mathieu Desnoyers Change-Id: Id7df3c04f26932332063b1fed31dc7be80695755 --- diff --git a/tests/utils/tap.h b/tests/utils/tap.h index 3000177..96871a9 100644 --- a/tests/utils/tap.h +++ b/tests/utils/tap.h @@ -23,8 +23,8 @@ extern "C" { _gen_result(1, __func__, __FILE__, __LINE__, "%s", #e) : \ _gen_result(0, __func__, __FILE__, __LINE__, "%s", #e)) -# define pass(test, ...) ok(1, test, ## __VA_ARGS__); -# define fail(test, ...) ok(0, test, ## __VA_ARGS__); +# define pass(test, ...) ok(1, test, ## __VA_ARGS__) +# define fail(test, ...) ok(0, test, ## __VA_ARGS__) # define skip_start(test, n, fmt, ...) \ do { \ @@ -43,8 +43,8 @@ extern "C" { _gen_result(1, __func__, __FILE__, __LINE__, "%s", #e) : \ _gen_result(0, __func__, __FILE__, __LINE__, "%s", #e)) -# define pass(...) ok(1, __VA_ARGS__); -# define fail(...) ok(0, __VA_ARGS__); +# define pass(...) ok(1, __VA_ARGS__) +# define fail(...) ok(0, __VA_ARGS__) # define skip_start(test, n, ...) \ do { \