Ticket #6627: 0ad-check.patch

File 0ad-check.patch, 580 bytes (added by pcpa, 20 months ago)

0ad-check.patch

  • source/gui/tests/test_CGUIText.h

    diff -up source/gui/tests/test_CGUIText.h.orig source/gui/tests/test_CGUIText.h
    old new public:  
    316316
    317317    void test_regression_rP26522()
    318318    {
     319        if (!VfsDirectoryExists(L"mods/mod/"))
     320        {
     321            debug_printf("Skipping regression rP26522 tests (can't find binaries/data/mods/mod/)\n");
     322            return;
     323        }
    319324        TS_ASSERT_OK(g_VFS->Mount(L"", DataDir() / "mods" / "mod" / "", VFS_MOUNT_MUST_EXIST));
    320325
    321326        CGUI gui(g_ScriptContext);