Working on 16.0.0 #53

Merged
rayaman merged 120 commits from v16.0.0 into master 2024-02-25 00:00:51 -05:00
2 changed files with 10 additions and 22 deletions
Showing only changes of commit 2b9f732d88 - Show all commits

View File

@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: '3.8' python-version: '3.10'
- name: Setup env - name: Setup env
run: | run: |

View File

@ -155,28 +155,16 @@ runTest = thread:newFunction(function()
end end
if not love then if not love then
local ec = 0 local ec = 0
if _VERSION == "Lua 5.1" then multi.print("Testing pseudo threading")
multi.print("Testing pseudo threading") _, str, ecc = os.execute("lua multi/tests/threadtests.lua p")
_, str, ecc = os.execute("lua tests/threadtests.lua p") ec = ec + ecc
ec = ec + ecc multi.print("Testing lanes threading")
multi.print("Testing lanes threading") _, str, ecc = os.execute("lua multi/tests/threadtests.lua l")
_, str, ecc = os.execute("lua tests/threadtests.lua l") ec = ec + ecc
ec = ec + ecc if ec ~= 0 then
if ec ~= 0 then os.exit(1)
os.exit(1)
end
os.exit(0)
else
multi.print("Testing pseudo threading")
ec = ec + os.execute("lua tests/threadtests.lua p")
multi.print("Testing lanes threading")
ec = ec + os.execute("lua tests/threadtests.lua l")
multi:Stop()
if ec ~= 0 then
os.exit(1)
end
os.exit(0)
end end
os.exit(0)
end end
end) end)