aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/UnitTests.vcxproj (follow)
Commit message (Collapse)AuthorAgeFilesLines
* verbose_errors improvementBenoit Germain2025-10-271-0/+1
| | | | | * Use std::format instead of sprintf for verbose errors when decoding table keys * Add a unit test for the different table key types
* Lift restriction on tables as table keysBenoit Germain2025-09-291-0/+1
| | | | As demonstrated by the unit tests, there is no problem with using a table as a table key
* Improve table and userdata conversionsBenoit Germain2025-09-201-0/+1
| | | | | | | | * add convert_fallback and convert_max_attempts to global settings * if no __lanesconvert is available, use convert_fallback (can be useful for externally provided full userdata with fixed metatables) * only try conversion on non-deep and non-clonable userdata * conversion can be applied recursively, up to convert_max_attempts times * plus all the relevant unit tests of course
* Copy deep_userdata_example test script in the test frameworkBenoit Germain2025-07-311-0/+1
| | | | | * I need to keep deep_userdata_example hackishly built-in inside the unit tests executable, because using the external module cause a crash in Lua51 tests (module is unloaded before some deep objects are GCed...) * copy the test script in the proper location and invoke it as part of the tests
* Use LANES_DEBUG instead of MSVC-specific _DEBUG to activate debug codeBenoit Germain2025-07-241-22/+23
|
* Use LANES_DEBUG instead of MSVC-specific _DEBUG to activate debug codeBenoit Germain2025-07-241-2/+2
|
* Added targets for Lua 5.5 in VS projects and SolutionBenoit Germain2025-07-041-0/+182
|
* Split coro tests in several scriptsBenoit Germain2025-07-041-1/+7
|
* Preparation for lane:close() and correct to-be-closed variablesBenoit Germain2025-06-261-1/+3
| | | | | | | | * 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
|
* Retarget vcxproj to latest Windows SDKBenoit Germain2025-04-291-1/+1
|
* A unit test for linda wake_periodBenoit Germain2025-04-181-0/+1
|
* Fix some tests (kinda)Benoit Germain2025-04-151-0/+1
| | | | | * split tasking_cancelling in two * add a timer in basic and tasking_cancelling as a temporary workaround for a deadlock in mingw ucrt64 builds
* UnitTest vcproj builds exe directly in _LuaVersions so that it finds the ↵Benoit Germain2025-04-041-20/+20
| | | | necessary DLLs
* More vcproj fixes for some targetsBenoit Germain2025-03-211-24/+24
|
* Adjusting MSVC files to ease unit testingBenoit Germain2025-03-211-65/+85
| | | | | * 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
|
* More work on MakefilesBenoit Germain2025-03-131-1/+1
| | | | | | | | | | | * 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-131-48/+62
|
* Add a VisualStudio solution to build and debug LanesBenoit Germain2025-03-111-27/+546
| | | | | | * 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
* Some fixes for unit tests with LuaJITBenoit Germain2025-03-101-2/+63
| | | | | | | * 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
* Makefile and code fixes to build the unit testsBenoit Germain2025-03-061-0/+1
|
* Migrated unit tests to Catch2 v3.7.1Benoit Germain2024-12-201-18/+32
|
* Append all unit tests to depotBenoit Germain2024-12-131-0/+354