aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/testing.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-05-10 00:02:33 +0200
committerGitHub <[email protected]>2023-05-10 00:02:33 +0200
commiteabe3ea211bc114f45c460728d8ad119d798efe3 (patch)
treebe06ef964c0104a0a54b8876fc31e4da0b35bc5e /src/zencore/testing.cpp
parentmonitor if a state-maker file still exists, and if not error out and exit (#283) (diff)
downloadzen-eabe3ea211bc114f45c460728d8ad119d798efe3.tar.xz
zen-eabe3ea211bc114f45c460728d8ad119d798efe3.zip
fix return code on tests (#284)
fix help for xmake test
Diffstat (limited to 'src/zencore/testing.cpp')
-rw-r--r--src/zencore/testing.cpp4
1 files changed, 1 insertions, 3 deletions
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;
}