Fix loading end2end test expectations on iOS

Need to be packed and found in the application bundle.

Bug: angleproject:5417
Change-Id: Iaf84ced0de6674a807aa747e71dbbf2715bbd6fb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3860831
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
This commit is contained in:
Yuly Novikov
2022-08-29 17:25:33 +00:00
committed by Angle LUCI CQ
parent ba4b691303
commit cd0f642e4e
2 changed files with 18 additions and 1 deletions

View File

@@ -460,6 +460,9 @@ bool FindTestDataPath(const char *searchPath, char *dataPathOut, size_t maxDataP
const std::string searchPaths[] = {
AndroidWindow::GetExternalStorageDirectory(),
AndroidWindow::GetExternalStorageDirectory() + "/third_party/angle"};
#elif defined(ANGLE_PLATFORM_IOS)
const std::string searchPaths[] = {GetExecutableDirectory(),
GetExecutableDirectory() + "/third_party/angle"};
#else
const std::string searchPaths[] = {
GetExecutableDirectory(), GetExecutableDirectory() + "/../..", ".",