summaryrefslogtreecommitdiffstats
path: root/src/lib/pgsql/tests/run_unittests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pgsql/tests/run_unittests.cc')
-rw-r--r--src/lib/pgsql/tests/run_unittests.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/pgsql/tests/run_unittests.cc b/src/lib/pgsql/tests/run_unittests.cc
index 4e83d4bd6c..1ccf6d1503 100644
--- a/src/lib/pgsql/tests/run_unittests.cc
+++ b/src/lib/pgsql/tests/run_unittests.cc
@@ -6,15 +6,14 @@
#include <config.h>
-#include <log/logger_support.h>
#include <gtest/gtest.h>
+#include <util/unittests/run_all.h>
+#include <log/logger_support.h>
+
int
main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
isc::log::initLogger();
-
- int result = RUN_ALL_TESTS();
-
- return (result);
+ return (isc::util::unittests::run_all());
}