aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/linda_tests.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-03-11 17:06:10 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2025-03-11 17:06:10 +0100
commit3ce42e54e5d093c3fd6136f6a9bfc9398f328bce (patch)
treec9bed33585ece45118b2f6d851c5787d76406097 /unit_tests/linda_tests.cpp
parent9ba9cd6185a00bd0623f3cbc96a20ce34dafbbc5 (diff)
downloadlanes-3ce42e54e5d093c3fd6136f6a9bfc9398f328bce.tar.gz
lanes-3ce42e54e5d093c3fd6136f6a9bfc9398f328bce.tar.bz2
lanes-3ce42e54e5d093c3fd6136f6a9bfc9398f328bce.zip
Add a VisualStudio solution to build and debug Lanes
* 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
Diffstat (limited to '')
-rw-r--r--unit_tests/linda_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit_tests/linda_tests.cpp b/unit_tests/linda_tests.cpp
index e956999..efdb8a5 100644
--- a/unit_tests/linda_tests.cpp
+++ b/unit_tests/linda_tests.cpp
@@ -329,7 +329,7 @@ TEST_CASE("linda.multi Keeper")
329#define MAKE_TEST_CASE(DIR, FILE) \ 329#define MAKE_TEST_CASE(DIR, FILE) \
330TEST_CASE("scripted tests." #DIR "." #FILE) \ 330TEST_CASE("scripted tests." #DIR "." #FILE) \
331{ \ 331{ \
332 FileRunner _runner(R"(.\lanes\unit_tests\scripts)"); \ 332 FileRunner _runner(R"(.\unit_tests\scripts)"); \
333 _runner.performTest(FileRunnerParam{ #DIR "/" #FILE, TestType::AssertNoLuaError }); \ 333 _runner.performTest(FileRunnerParam{ #DIR "/" #FILE, TestType::AssertNoLuaError }); \
334} 334}
335 335
@@ -346,7 +346,7 @@ TEST_CASE("linda.scripted tests")
346 FileRunnerParam{ "linda/multiple_keepers", TestType::AssertNoLuaError } 346 FileRunnerParam{ "linda/multiple_keepers", TestType::AssertNoLuaError }
347 ); 347 );
348 348
349 FileRunner _runner(R"(.\lanes\unit_tests\scripts)"); 349 FileRunner _runner(R"(.\unit_tests\scripts)");
350 _runner.performTest(_testParam); 350 _runner.performTest(_testParam);
351} 351}
352*/ \ No newline at end of file 352*/ \ No newline at end of file