15 lines
580 B
Diff
15 lines
580 B
Diff
diff -up source/gui/tests/test_CGUIText.h.orig source/gui/tests/test_CGUIText.h
|
|
--- source/gui/tests/test_CGUIText.h.orig 2022-09-23 16:16:46.000000000 -0300
|
|
+++ source/gui/tests/test_CGUIText.h 2022-09-26 11:32:31.318155833 -0300
|
|
@@ -316,6 +316,11 @@ public:
|
|
|
|
void test_regression_rP26522()
|
|
{
|
|
+ if (!VfsDirectoryExists(L"mods/mod/"))
|
|
+ {
|
|
+ debug_printf("Skipping regression rP26522 tests (can't find binaries/data/mods/mod/)\n");
|
|
+ return;
|
|
+ }
|
|
TS_ASSERT_OK(g_VFS->Mount(L"", DataDir() / "mods" / "mod" / "", VFS_MOUNT_MUST_EXIST));
|
|
|
|
CGUI gui(g_ScriptContext);
|