8003650: java.lang.Exception: expected string not found: pkg/package-frame.html

Reviewed-by: ksrini
This commit is contained in:
Jonathan Gibbons 2012-11-20 07:25:11 -08:00
parent f0fe027b50
commit f2fa2a199c
2 changed files with 6 additions and 4 deletions

View file

@ -64,8 +64,9 @@ public class RunTest extends APITest {
checkFiles(outDir, standardExpectFiles);
String out = stdout.toString();
for (String f: standardExpectFiles) {
if (f.endsWith(".html") && !out.contains(f))
error("expected string not found: " + f);
String f1 = f.replace('/', File.separatorChar);
if (f1.endsWith(".html") && !out.contains(f1))
error("expected string not found: " + f1);
}
} else {
error("call failed");