Skip to content

Commit 87c9de5

Browse files
committed
improve test
1 parent 01d4ef4 commit 87c9de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if option.get("diagnosis") then table.insert(params, "-D") end
1111

1212
function _run_test(script)
1313
assert(script:endswith("test.lua"))
14-
os.execv("xmake", table.join("lua", params, path.join(os.scriptdir(), "runner.lua"), script))
14+
os.execv(os.programfile(), table.join("lua", params, path.join(os.scriptdir(), "runner.lua"), script))
1515
end
1616

1717
-- run test with the given name

0 commit comments

Comments
 (0)