Test for 5.1

This commit is contained in:
Ryan Ward 2023-09-04 19:50:50 -04:00
parent 98198a4af2
commit 13221ca47e

View File

@ -175,7 +175,7 @@ runTest = thread:newFunction(function()
end end
if not love then if not love then
local ec = 0 local ec = 0
if _VERSION > "5.1" then if _VERSION == "5.1" then
multi.print("Testing pseudo threading") multi.print("Testing pseudo threading")
_, str, ecc = os.execute("lua tests/threadtests.lua p") _, str, ecc = os.execute("lua tests/threadtests.lua p")
ec = ec + ecc ec = ec + ecc