diff options
Diffstat (limited to 'xmake/actions/test/main.lua')
| -rw-r--r-- | xmake/actions/test/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua index 620c63134..ccc69e897 100644 --- a/xmake/actions/test/main.lua +++ b/xmake/actions/test/main.lua @@ -269,7 +269,7 @@ function _run_tests(tests) local spent = os.mclock() print("running tests ...") local report = {passed = 0, total = #ordertests} - local jobs = tonumber(option.get("jobs") or "1") + local jobs = tonumber(option.get("jobs")) or os.default_njob() runjobs("run_tests", function (index) local testinfo = ordertests[index] if testinfo then |
