libtraceevent: Have unit test fail when any tests fail

If any of the tests of the unit test fails, make sure it returns non-zero to
allow tools that use this know that a test failed.

Link: https://lore.kernel.org/linux-trace-devel/20240329135331.784707-1-paul.mars@canonical.com/
Link: https://lore.kernel.org/linux-trace-devel/20240614153421.2c934dc1@rorschach.local.home

Reported-by: Paul Mars <paul.mars@canonical.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 file changed