Added debug output to understand why the parser test fails.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1133 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1078,6 +1078,10 @@ MimeSnifferTest::ParserTest() {
|
|||||||
cout << testCase.error << endl;
|
cout << testCase.error << endl;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
if (error != B_BAD_MIME_SNIFFER_RULE) {
|
||||||
|
printf("rule: `%s'\n", testCase.rule);
|
||||||
|
RES(error);
|
||||||
|
}
|
||||||
CHK(error == B_BAD_MIME_SNIFFER_RULE);
|
CHK(error == B_BAD_MIME_SNIFFER_RULE);
|
||||||
CHK(parseError.FindLast(testCase.error) >= 0);
|
CHK(parseError.FindLast(testCase.error) >= 0);
|
||||||
}
|
}
|
||||||
@@ -1377,4 +1381,4 @@ std::string("\000\034 000 034", 10), // Otherwise, it thinks the NULL is the end
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !TEST_R5
|
#endif // !TEST_R5
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user