From cdf0397f6652f88d4836a76f3eb929ae2b02ea1a Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 9 Oct 2014 05:19:21 +0000 Subject: [PATCH] test: fix unit test runner. --- src/t/test-common.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/t/test-common.cpp b/src/t/test-common.cpp index 9ba57783..5d36462b 100644 --- a/src/t/test-common.cpp +++ b/src/t/test-common.cpp @@ -19,6 +19,8 @@ int main(int argc, char **argv) { UNUSED(argc, argv); - return EXIT_SUCCESS; + lol::TextTestRunner runner; + bool success = runner.Run(); + return success ? EXIT_SUCCESS : EXIT_FAILURE; }