From 70bddf12f5f92a71022c049fb6b8f4f8672af974 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 2 Sep 2015 13:49:59 +0200 Subject: Added GoogleTest and convert tests to us it (nw) --- tests/main.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests/main.c') diff --git a/tests/main.c b/tests/main.c index d6bed4aeb67..a3ba19293f9 100644 --- a/tests/main.c +++ b/tests/main.c @@ -1,9 +1,12 @@ // license:BSD-3-Clause // copyright-holders:Miodrag Milanovic -#include "UnitTest++/UnitTest++.h" +#include +#include "gtest/gtest.h" -int main(int, char const *[]) +int main(int argc, char **argv) { - return UnitTest::RunAllTests(); + testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); } + -- cgit v1.2.3-70-g09d2