Working on paths
This commit is contained in:
parent
726f55e5c6
commit
2b9f732d88
2
.github/workflows/nix_ci.yml
vendored
2
.github/workflows/nix_ci.yml
vendored
@ -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: |
|
||||||
|
|||||||
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user