From fc89eddb33a40baf158b5dda341b62786332c00d Mon Sep 17 00:00:00 2001 From: montellese Date: Sun, 11 Jan 2015 01:10:08 +0100 Subject: [PATCH] [unit tests] set special://home to be able to dynamically load libraries --- xbmc/test/TestUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xbmc/test/TestUtils.cpp b/xbmc/test/TestUtils.cpp index ea2b0132c4e7c..754dc58f43a9e 100644 --- a/xbmc/test/TestUtils.cpp +++ b/xbmc/test/TestUtils.cpp @@ -118,9 +118,10 @@ bool CXBMCTestUtils::SetReferenceFileBasePath() if (xbmcPath.empty()) return false; - /* Set xbmc path and xbmcbin path */ + /* Set xbmc, xbmcbin and home path */ CSpecialProtocol::SetXBMCPath(xbmcPath); CSpecialProtocol::SetXBMCBinPath(xbmcPath); + CSpecialProtocol::SetHomePath(URIUtils::AddFileToFolder(xbmcPath, "portable_data")); return true; }