summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/test/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua
index 1aa528249..f8314ce69 100644
--- a/xmake/actions/test/main.lua
+++ b/xmake/actions/test/main.lua
@@ -256,7 +256,7 @@ function _show_output(testinfo, kind)
if output then
if option.get("diagnosis") then
local target = testinfo.target
- local logfile = path.join(target:autogendir(), "tests", testinfo.name .. ".log")
+ local logfile = path.join(target:autogendir(), "tests", testinfo.name .. "." .. kind .. ".log")
io.writefile(logfile, output)
print("%s: %s", kind, logfile)
elseif option.get("verbose") then