From eabe3ea211bc114f45c460728d8ad119d798efe3 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Wed, 10 May 2023 00:02:33 +0200 Subject: fix return code on tests (#284) fix help for xmake test --- src/zencore/testing.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/zencore/testing.cpp') diff --git a/src/zencore/testing.cpp b/src/zencore/testing.cpp index 1599e9d1f..5531aa738 100644 --- a/src/zencore/testing.cpp +++ b/src/zencore/testing.cpp @@ -42,9 +42,7 @@ TestRunner::ApplyCommandLine(int argc, char const* const* argv) int TestRunner::Run() { - int Rv = 0; - - m_Impl->Session.run(); + int Rv = m_Impl->Session.run(); return Rv; } -- cgit v1.2.3