diff options
| -rw-r--r-- | xmake/actions/test/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua index d39c80a18..857f06071 100644 --- a/xmake/actions/test/main.lua +++ b/xmake/actions/test/main.lua @@ -267,7 +267,7 @@ function _run_tests(tests) local progress = math.floor(index * 100 / #ordertests) local padding = maxwidth - #testinfo.name cprint(progress_format .. "%s%s .................................... " .. status_color .. "%s${clear} ${bright}%0.3fs", - progress, testinfo.name, (" "):rep(padding), passed and "passed" or "failed", spent) + progress, testinfo.name, (" "):rep(padding), passed and "passed" or "failed", spent / 1000) if not passed and errors and (option.get("verbose") or option.get("diagnosis")) then cprint(errors) end |
