From 3ce42e54e5d093c3fd6136f6a9bfc9398f328bce Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 11 Mar 2025 17:06:10 +0100 Subject: Add a VisualStudio solution to build and debug Lanes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- unit_tests/legacy_tests.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'unit_tests/legacy_tests.cpp') diff --git a/unit_tests/legacy_tests.cpp b/unit_tests/legacy_tests.cpp index 509bb22..7f2f31d 100644 --- a/unit_tests/legacy_tests.cpp +++ b/unit_tests/legacy_tests.cpp @@ -13,7 +13,7 @@ #define MAKE_TEST_CASE(FILE) \ TEST_CASE("scripted tests.legacy." #FILE) \ { \ - FileRunner _runner(R"(.\lanes\tests\)"); \ + FileRunner _runner(R"(.\tests\)"); \ _runner.performTest(FileRunnerParam{ #FILE, TestType::AssertNoLuaError }); \ } @@ -34,9 +34,7 @@ MAKE_TEST_CASE(irayo_closure) MAKE_TEST_CASE(irayo_recursive) MAKE_TEST_CASE(keeper) //MAKE_TEST_CASE(linda_perf) -#if LUA_VERSION_NUM == 504 MAKE_TEST_CASE(manual_register) -#endif // LUA_VERSION_NUM MAKE_TEST_CASE(nameof) MAKE_TEST_CASE(objects) MAKE_TEST_CASE(package) @@ -84,7 +82,7 @@ TEST_CASE("lanes.legacy scripted tests") , FileRunnerParam{ "track_lanes", TestType::AssertNoLuaError } // 26 ); - FileRunner _runner(R"(.\lanes\tests\)"); + FileRunner _runner(R"(.\tests\)"); _runner.performTest(_testParam); } */ -- cgit v1.2.3-55-g6feb