Commit af344a1b by Corentin Wallez Committed by Commit Bot

Fail the dEQP tests early if the case list is not found.

BUG=580045 Change-Id: I917f62dca047ca163bfdbcc5437b2fc1d7a1e020 Reviewed-on: https://chromium-review.googlesource.com/326401Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
parent f04f6671
...@@ -148,6 +148,10 @@ void dEQPCaseList::initialize() ...@@ -148,6 +148,10 @@ void dEQPCaseList::initialize()
} }
std::ifstream caseListStream(caseListPath); std::ifstream caseListStream(caseListPath);
if (caseListStream.fail())
{
FAIL() << "Failed to load the case list.";
}
while (!caseListStream.eof()) while (!caseListStream.eof())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment