diff options
| author | ruki <[email protected]> | 2024-04-09 09:37:46 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-09 09:37:46 +0800 |
| commit | c729be0bb01b41b2cdc67f5b5713da239c9ea9a6 (patch) | |
| tree | 0fde774547602aa4a9fd1ce3866c8cbed71f1854 /tests/run.lua | |
| parent | 15af62b0406caefc71ad7fa01c41f29a017759bb (diff) | |
| parent | 19b67001ad77668b555a1213bc6d473bc35318aa (diff) | |
Merge pull request #4947 from xmake-io/runjobs
Improve runjobs
Diffstat (limited to 'tests/run.lua')
| -rw-r--r-- | tests/run.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/run.lua b/tests/run.lua index 00c18ff07..ff6158ab2 100644 --- a/tests/run.lua +++ b/tests/run.lua @@ -16,10 +16,8 @@ end -- run test with the given name function _run_test_filter(name) - local tests = {} local root = path.absolute(os.scriptdir()) - -- find the test script for _, script in ipairs(os.files(path.join(root, "**", name, "**", "test.lua"))) do if not script:find(".xmake", 1, true) then table.insert(tests, path.absolute(script)) @@ -55,9 +53,6 @@ function _run_test_filter(name) end end --- main entry function main(name) - - -- run the given test return _run_test_filter(name or "/") end |
