diff options
| -rw-r--r-- | src/zencore/testing.cpp | 4 | ||||
| -rw-r--r-- | xmake.lua | 2 |
2 files changed, 2 insertions, 4 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; } @@ -178,7 +178,7 @@ task("sln") task("test") set_menu { - usage = "xmake runtest [core|store|server|integration|all]", + usage = "xmake test --run=[core|store|server|integration|all]", description = "Run Zen tests", options = { {'r', "run", "kv", "all", "Run test(s)", " - all", " - core ", " - store", " - server", " - integration"}, |