From 1c95994f083e48dbd756749efcd5beedfdf83ba2 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 24 Jul 2024 23:23:16 +0800 Subject: fix log file path --- xmake/actions/test/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1