aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/lane_tests.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify sleep() timeout with send() and receive (nil means forever)v4.0.0Benoit Germain2026-02-271-3/+5
|
* Split lanes.sleep unit tests and some linda unit tests tooBenoit Germain2025-07-251-1/+9
|
* Split coro tests in several scriptsBenoit Germain2025-07-041-10/+15
|
* Preparation for lane:close() and correct to-be-closed variablesBenoit Germain2025-06-261-2/+7
| | | | | | | | * 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
* Move some tests to a separate scriptBenoit Germain2025-06-241-0/+1
|
* Thread priority reworkBenoit Germain2025-05-071-62/+155
| | | | | | | * thread priorities can now be set using the native range of values, if desired. * thread API errors cause a Lua error instead of aborting the program. * new function lanes.thread_priority_range(), to query the valid range of priorities. * unit tests for all of the above
* Fix some tests (kinda)Benoit Germain2025-04-151-0/+2
| | | | | * split tasking_cancelling in two * add a timer in basic and tasking_cancelling as a temporary workaround for a deadlock in mingw ucrt64 builds
* Remove whitspaces from test namesBenoit Germain2025-04-141-2/+2
|
* Raise a regular Lua error instead of throwing a C++ std::logic_error ↵Benoit Germain2025-03-171-5/+5
| | | | exception in Universe::UniverseGC
* Give a name to all lanes in the testsBenoit Germain2025-03-141-1/+1
|
* lanes/core.[so|dll] → lanes_core.[so|dll]Benoit Germain2025-03-141-1/+1
|
* Unit tests for lanes.sleepBenoit Germain2025-03-121-0/+65
|
* Add a VisualStudio solution to build and debug LanesBenoit Germain2025-03-111-2/+2
| | | | | | * configured to build Lanes, the example module deep_userdata_example, and the unit tests * relies on Lua 5.1 → 5.4, LuaJIT and MoonJIT to be built and located in a fixed directory * manual_register legacy test now uses deep_userdata_example module instead of lfs
* Fix/disable some unit tests against LuaJIT until the failure reason is ↵Benoit Germain2025-03-101-0/+3
| | | | | | | | | 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
* Some fixes for unit tests with LuaJITBenoit Germain2025-03-101-2/+3
| | | | | | | * 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
* Revamped lanes.nameofBenoit Germain2025-03-071-3/+12
|
* lanes.nameof internal code refacto + a few unit testsBenoit Germain2025-03-051-0/+19
|
* Reorganized tests for the Test ExplorerBenoit Germain2024-12-201-31/+29
|
* Migrated unit tests to Catch2 v3.7.1Benoit Germain2024-12-201-206/+220
|
* Unit tests for thread nameBenoit Germain2024-12-161-5/+56
|
* Append all unit tests to depotBenoit Germain2024-12-131-0/+209