Working on paths

This commit is contained in:
Ryan Ward 2023-11-26 13:10:16 -05:00
parent 726f55e5c6
commit 2b9f732d88
2 changed files with 10 additions and 22 deletions

View File

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

View File

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