Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Aug 23, 2024
1 parent 01d4ef4 commit 87c9de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if option.get("diagnosis") then table.insert(params, "-D") end

function _run_test(script)
assert(script:endswith("test.lua"))
os.execv("xmake", table.join("lua", params, path.join(os.scriptdir(), "runner.lua"), script))
os.execv(os.programfile(), table.join("lua", params, path.join(os.scriptdir(), "runner.lua"), script))
end

-- run test with the given name
Expand Down

0 comments on commit 87c9de5

Please sign in to comment.