Skip to content

Commit

Permalink
VTests: TestContext - correctly resolve test plugins in bundles
Browse files Browse the repository at this point in the history
OSX bundle/ Ubuntu snaps
  • Loading branch information
paroj committed Jun 6, 2018
1 parent d97e02c commit a9b5582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/VisualTests/Context/src/TestContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void TestContext::setup()
// Get the path and list of test plugins from the config file.
Ogre::ConfigFile testConfig;
testConfig.load(mFSLayer->getConfigFilePath("tests.cfg"));
mPluginDirectory = testConfig.getSetting("TestFolder");
mPluginDirectory = Ogre::FileSystemLayer::resolveBundlePath(testConfig.getSetting("TestFolder"));

#if OGRE_PLATFORM != OGRE_PLATFORM_APPLE && OGRE_PLATFORM != OGRE_PLATFORM_APPLE_IOS
if (mPluginDirectory.empty()) mPluginDirectory = "."; // user didn't specify plugins folder, try current one
Expand Down

0 comments on commit a9b5582

Please sign in to comment.