aboutsummaryrefslogtreecommitdiff
path: root/unit_tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adjusting MSVC files to ease unit testingBenoit Germain2025-03-214-240/+88
| | | | | * Everything assumes there is a _LuaVersions folder containing all supported Lua versions (binaries, libs and headers) alongside the Lanes.sln location * After that the solutions to build the Lua binaries themselves will appear too for reference (mainly because their output folders will be configured accordingly)
* A few vcproj tweaksBenoit Germain2025-03-201-20/+28
|
* Fix test "allocator = <bad C function>" not failing against LuaJIT like it ↵Benoit Germain2025-03-171-169/+178
| | | | should
* Raise a regular Lua error instead of throwing a C++ std::logic_error ↵Benoit Germain2025-03-175-49/+66
| | | | exception in Universe::UniverseGC
* Give a name to all lanes in the testsBenoit Germain2025-03-1414-18/+19
|
* lanes/core.[so|dll] → lanes_core.[so|dll]Benoit Germain2025-03-143-4/+4
|
* More makefile tweaksBenoit Germain2025-03-141-7/+7
|
* More work on MakefilesBenoit Germain2025-03-133-10/+12
| | | | | | | | | | | * renamed makefiles: - Shared.mk → Shared.makefile - src/Makefile → src/Lanes.makefile - unit_tests/Makefile → unit_tests/UnitTests.makefile - deep_userdata_example/Makefile → deep_userdata_example/DUE.makefile * Add a makefile for deep_userdata_example * added a target 'unit_tests' to build them (not running them yet) * plus some minor internal improvements
* Cleanup in MSVC projectsBenoit Germain2025-03-132-71/+85
|
* Disable unit test "lanes.stack checker" in Release buildsBenoit Germain2025-03-132-7/+22
|
* Makefile tweaksBenoit Germain2025-03-121-1/+1
|
* Fix unit tests makefileBenoit Germain2025-03-121-1/+1
| | | | * UnitTest.exe is not a shared library
* Make gcc happyBenoit Germain2025-03-122-1/+2
|
* Unit tests for lanes.sleepBenoit Germain2025-03-121-0/+65
|
* Add a VisualStudio solution to build and debug LanesBenoit Germain2025-03-116-38/+641
| | | | | | * 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
* Sample module deep test renamed deep_userdata_exampleBenoit Germain2025-03-112-11/+11
|
* More unit testsBenoit Germain2025-03-112-47/+194
|
* Fix/disable some unit tests against LuaJIT until the failure reason is ↵Benoit Germain2025-03-104-67/+74
| | | | | | | | | 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-106-9/+105
| | | | | | | * 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
|
* Add unit_tests/.gitignoreBenoit Germain2025-03-061-0/+3
|
* Makefile and code fixes to build the unit testsBenoit Germain2025-03-067-14/+43
|
* lanes.nameof internal code refacto + a few unit testsBenoit Germain2025-03-051-0/+19
|
* All enums are [[nodiscard]]Benoit Germain2025-02-052-2/+2
|
* Make VS Test Explorer happy by absorbing the text output of legacy testsBenoit Germain2024-12-202-3/+12
|
* Reorganized tests for the Test ExplorerBenoit Germain2024-12-208-53/+155
|
* Migrated unit tests to Catch2 v3.7.1Benoit Germain2024-12-2016-1352/+27415
|
* Unit tests for thread nameBenoit Germain2024-12-161-5/+56
|
* Append all unit tests to depotBenoit Germain2024-12-1329-0/+4010