diff options
| author | ruki <[email protected]> | 2024-08-23 22:41:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-08-23 22:41:33 +0800 |
| commit | 87c9de55373a5d4aed385162f1ec6152068c1f2f (patch) | |
| tree | 03a93fd9b0be41f7dc49f12618d49d0486e3c48c /tests/run.lua | |
| parent | 01d4ef480fdb495b13fcd9f4529b30e5ccd5d1c7 (diff) | |
improve test
Diffstat (limited to 'tests/run.lua')
| -rw-r--r-- | tests/run.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.lua b/tests/run.lua index ff6158ab2..a252b445c 100644 --- a/tests/run.lua +++ b/tests/run.lua @@ -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 |
