aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/scripts/lane (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rework function bytecode dumping to be Lua5.5-readyBenoit Germain2025-07-241-10/+8
| | | | * prepare the luaL_Buffer in the destination state instead of the source state to prevent stack issues when everything happens in the same state
* Move some tests to a separate scriptBenoit Germain2025-06-242-27/+28
|
* Added 2 tests in tasking_basicBenoit Germain2025-06-231-0/+27
|
* Change lane:join() return valuesBenoit Germain2025-06-051-5/+11
| | | | | | * 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
* Unit test fixesBenoit Germain2025-04-243-6/+38
| | | | | | * fix cooperative_shutdown * add a test to tasking_cancelling * fix bad fixture function name give_me_back
* cancel_test() returns "soft"/"hard" instead of trueBenoit Germain2025-04-231-1/+0
|
* New feature: Linda periodical cancellation checksBenoit Germain2025-04-184-4/+4
| | | | | | | * lanes.linda() api change: takes all settings in a single table argument * new linda creation argument wake_period * new lanes.configure setting linda_wake_period * adjusted all unit tests (one TODO test fails on purpose)
* Linda batched mode reworkBenoit Germain2025-04-152-2/+2
| | | | | * linda.batched special value is removed * new function linda:receive_batched
* Fix some tests (kinda)Benoit Germain2025-04-152-67/+90
| | | | | * split tasking_cancelling in two * add a timer in basic and tasking_cancelling as a temporary workaround for a deadlock in mingw ucrt64 builds
* Raise a regular Lua error instead of throwing a C++ std::logic_error ↵Benoit Germain2025-03-171-2/+2
| | | | exception in Universe::UniverseGC
* Give a name to all lanes in the testsBenoit Germain2025-03-1410-15/+15
|
* Disable unit test "lanes.stack checker" in Release buildsBenoit Germain2025-03-131-1/+1
|
* Some fixes for unit tests with LuaJITBenoit Germain2025-03-101-1/+5
| | | | | | | * vcproj settings * always load "jit" module so that lanes does not detect it in running under PUC-Lua * add fixture support so that test "cooperative_shutdown.lua" works * fix test "lanes.configure() allocator setting not failing like it should
* Append all unit tests to depotBenoit Germain2024-12-1310-0/+759