aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/zencore/testing.cpp4
-rw-r--r--xmake.lua2
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;
}
diff --git a/xmake.lua b/xmake.lua
index c1fdea37e..623a0d26a 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -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"},