aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/scripts/coro (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added Lua 5.5 supportBenoit Germain2025-07-041-1/+2
| | | | * some unit tests fail/segfault/freeze, but that could be because Lua 5.5 is still in beta yet
* Split coro tests in several scriptsBenoit Germain2025-07-048-190/+198
|
* Fix more issues related to suspended coroutines and join/indexing operationsBenoit Germain2025-07-032-39/+100
| | | | | * indexing and joining a suspended lane closes the coroutine, causing the termination of the lane * properly close coroutine to-be-closed variables on interruption
* Clarified interactions between join() and coroutinesBenoit Germain2025-07-011-18/+27
|
* Preparation for lane:close() and correct to-be-closed variablesBenoit Germain2025-06-265-102/+220
| | | | | | | | * lane:join() can no longer be used to read yielded values * same with lane indexing * stub for lane:close(), similar to coroutine.close() (not implemented yet) * preparing tests for to-be-closed variables in yielded coroutine lanes * yielded lanes unlock and terminate properly at Lanes shutdown
* Change lane:join() return valuesBenoit Germain2025-06-051-2/+4
| | | | | | * when no error is raised in the lane, lane:join() now precedes the lane returned values with true * lane body is no longer forced to return something when used with join() * adjusted all relevant unit tests accordingly
* Give a name to all lanes in the testsBenoit Germain2025-03-141-1/+1
|
* Fix/disable some unit tests against LuaJIT until the failure reason is ↵Benoit Germain2025-03-102-3/+6
| | | | | | | | | discovered * cancel.lua fails when using lanes.coro * coro/basics.lua fails because an error message is different * coro/error_handling fails for an unknown reason * a lanes.finally test crashes inside lua_close
* Append all unit tests to depotBenoit Germain2024-12-132-0/+158