From 493990f472a8ea11a124158bf34050feffd68a1f Mon Sep 17 00:00:00 2001 From: Itms Date: Tue, 2 Aug 2016 15:38:39 +0000 Subject: [PATCH] Fix engine tests when no mods are present, by making the pathfinder tests consistent with the rest of the tests. This was SVN commit r18577. --- source/simulation2/components/tests/test_Pathfinder.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/simulation2/components/tests/test_Pathfinder.h b/source/simulation2/components/tests/test_Pathfinder.h index 5424ca2939..09b87dbc5c 100644 --- a/source/simulation2/components/tests/test_Pathfinder.h +++ b/source/simulation2/components/tests/test_Pathfinder.h @@ -35,10 +35,8 @@ public: void setUp() { g_VFS = CreateVfs(20 * MiB); - TS_ASSERT_OK(g_VFS->Mount(L"", DataDir() / "mods" / "mod", VFS_MOUNT_MUST_EXIST)); - TS_ASSERT_OK(g_VFS->Mount(L"", DataDir() / "mods" / "public", VFS_MOUNT_MUST_EXIST, 1)); - TS_ASSERT_OK(g_VFS->Mount(L"cache/", DataDir() / "cache")); - + g_VFS->Mount(L"", DataDir()/"mods"/"mod", VFS_MOUNT_MUST_EXIST); + g_VFS->Mount(L"", DataDir()/"mods"/"public", VFS_MOUNT_MUST_EXIST, 1); // ignore directory-not-found errors CXeromyces::Startup(); // Need some stuff for terrain movement costs: