From 756e26ad452479f9740f1112891cbbba23476c13 Mon Sep 17 00:00:00 2001 From: Ted John Date: Fri, 2 Dec 2016 17:16:12 +0000 Subject: [PATCH] Fix main function --- test/tests/sawyercoding_test.cpp | 2 +- test/tests/tests.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/tests/sawyercoding_test.cpp b/test/tests/sawyercoding_test.cpp index c7105416c5..5e9120a29a 100644 --- a/test/tests/sawyercoding_test.cpp +++ b/test/tests/sawyercoding_test.cpp @@ -1,5 +1,5 @@ // Make MSVC shut up about M_PI -#include +#include extern "C" { #include "util/sawyercoding.h" diff --git a/test/tests/tests.cpp b/test/tests/tests.cpp index bba7cb7be3..4190c4fa39 100644 --- a/test/tests/tests.cpp +++ b/test/tests/tests.cpp @@ -6,8 +6,8 @@ int main(int argc, char * * argv) { - testing::InitGoogleTest(&argc, argv); - RUN_ALL_TESTS(); + testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); } #endif