diff options
| author | Stehsaer <[email protected]> | 2026-03-04 21:33:16 +0800 |
|---|---|---|
| committer | Stehsaer <[email protected]> | 2026-03-04 21:33:16 +0800 |
| commit | 28f628e0a5bfacc468b6ff88aaee887af8b9b52e (patch) | |
| tree | 063376680163489b814786b55929ffeea36d5ab0 | |
| parent | 2566a7d29bbee1c9ee8e65fd0ae81380db65d6ca (diff) | |
fix test output
| -rw-r--r-- | xmake/actions/test/main.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua index 9162da829..4cfde34ba 100644 --- a/xmake/actions/test/main.lua +++ b/xmake/actions/test/main.lua @@ -318,7 +318,9 @@ function _show_output(testinfo, kind) io.writefile(logfile, output) print("%s: %s", kind, logfile) elseif option.get("verbose") then - cprint("%s: %s", kind, output) + local msg = format("%s: %s", kind, output) + io.write(msg) + print() end end end |
