Skip to content

Commit

Permalink
[unit tests] set special://home to be able to dynamically load libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Jan 24, 2015
1 parent 25b9db7 commit fc89edd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/test/TestUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit fc89edd

Please sign in to comment.